Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.38.0
Description
Arrow adapter should push down arithmetic operations
Here is a simple case:
select intField, stringField from arrowdata where floatField - 1 = 12
Its plan can be optimized to
String plan = "PLAN=ArrowToEnumerableConverter\n" + " ArrowProject(intField=[$0], stringField=[$1])\n" + " ArrowFilter(condition=[=(+($2, 1.0:DECIMAL(2, 1)), 12.0E0)])\n" + " ArrowTableScan(table=[[ARROW, ARROWDATA]], fields=[[0, 1, 2, 3]])\n\n";
Attachments
Issue Links
- links to