Describe the enhancement requested
I am trying to do filter on arrow table/record with compute and exprs package, and found filtering for arrow.TIME64, arrow.TIMESTAMP, arrow.DECIMAL128, arrow.DECIMAL256 is not working as expected.
Could you please help to support arrow.TIME64 arrow.TIMESTAMP ... in exprs.ToSubstraitType()
https://pkg.go.dev/github.com/apache/arrow-go/v18/arrow/compute/exprs#ToSubstraitType
Looking at the code arrow.DECIMAL128, arrow.DECIMAL256 seems are supported, but not work well, maybe a bug?
Expected: SetInputSchema(), exprs.ExecuteScalarExpression() can work well with arrow.TIME64 arrow.TIMESTAMP, arrow.DECIMAL128, arrow.DECIMAL256
Note: I find it relatively simple to support arrow.TIME64 arrow.TIMESTAMP by adding cases to exprs.ToSubstraitType(), but it seems only arrow.Microsecond is supported as it is hard coded in FromSubstraitType, any possibility to derive the unit from the input schema?
Component(s)
Describe the enhancement requested
I am trying to do filter on arrow table/record with
computeandexprspackage, and found filtering for arrow.TIME64, arrow.TIMESTAMP, arrow.DECIMAL128, arrow.DECIMAL256 is not working as expected.Could you please help to support arrow.TIME64 arrow.TIMESTAMP ... in exprs.ToSubstraitType()
https://pkg.go.dev/github.com/apache/arrow-go/v18/arrow/compute/exprs#ToSubstraitType
Looking at the code arrow.DECIMAL128, arrow.DECIMAL256 seems are supported, but not work well, maybe a bug?
Expected: SetInputSchema(), exprs.ExecuteScalarExpression() can work well with arrow.TIME64 arrow.TIMESTAMP, arrow.DECIMAL128, arrow.DECIMAL256
Note: I find it relatively simple to support arrow.TIME64 arrow.TIMESTAMP by adding cases to
exprs.ToSubstraitType(), but it seems onlyarrow.Microsecondis supported as it is hard coded inFromSubstraitType, any possibility to derive the unit from the input schema?Component(s)