forked from apache/incubator-gluten
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GLUTEN-3582][CH] Fix bug for decimal and float type (apache#6925)
* [GLUTEN-3582][CH] Fix bug for decimal and float type * fix style * fix velox compile issue by introducing def enableSuite(suiteName: String) to avoid explicitly refer test suite * Spark 35 CI Pipeline is not ready, let's ignore it first
- Loading branch information
1 parent
6ad373a
commit 1c1a4b7
Showing
14 changed files
with
403 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
160 changes: 160 additions & 0 deletions
160
cpp-ch/local-engine/tests/decmial_filter_push_down/18_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
{ | ||
"relations": [ | ||
{ | ||
"root": { | ||
"input": { | ||
"filter": { | ||
"common": { | ||
"direct": {} | ||
}, | ||
"input": { | ||
"read": { | ||
"common": { | ||
"direct": {} | ||
}, | ||
"baseSchema": { | ||
"names": [ | ||
"a" | ||
], | ||
"struct": { | ||
"types": [ | ||
{ | ||
"decimal": { | ||
"scale": 2, | ||
"precision": 18, | ||
"nullability": "NULLABILITY_NULLABLE" | ||
} | ||
} | ||
] | ||
}, | ||
"columnTypes": [ | ||
"NORMAL_COL" | ||
] | ||
}, | ||
"filter": { | ||
"singularOrList": { | ||
"value": { | ||
"selection": { | ||
"directReference": { | ||
"structField": {} | ||
} | ||
} | ||
}, | ||
"options": [ | ||
{ | ||
"literal": { | ||
"decimal": { | ||
"value": "yAAAAAAAAAAAAAAAAAAAAA==", | ||
"precision": 18, | ||
"scale": 2 | ||
} | ||
} | ||
}, | ||
{ | ||
"literal": { | ||
"decimal": { | ||
"value": "LAEAAAAAAAAAAAAAAAAAAA==", | ||
"precision": 18, | ||
"scale": 2 | ||
} | ||
} | ||
}, | ||
{ | ||
"literal": { | ||
"decimal": { | ||
"value": "kAEAAAAAAAAAAAAAAAAAAA==", | ||
"precision": 18, | ||
"scale": 2 | ||
} | ||
} | ||
}, | ||
{ | ||
"literal": { | ||
"decimal": { | ||
"value": "9AEAAAAAAAAAAAAAAAAAAA==", | ||
"precision": 18, | ||
"scale": 2 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"advancedExtension": { | ||
"optimization": { | ||
"@type": "type.googleapis.com/google.protobuf.StringValue", | ||
"value": "isMergeTree=0\n" | ||
} | ||
} | ||
} | ||
}, | ||
"condition": { | ||
"singularOrList": { | ||
"value": { | ||
"selection": { | ||
"directReference": { | ||
"structField": {} | ||
} | ||
} | ||
}, | ||
"options": [ | ||
{ | ||
"literal": { | ||
"decimal": { | ||
"value": "yAAAAAAAAAAAAAAAAAAAAA==", | ||
"precision": 18, | ||
"scale": 2 | ||
} | ||
} | ||
}, | ||
{ | ||
"literal": { | ||
"decimal": { | ||
"value": "LAEAAAAAAAAAAAAAAAAAAA==", | ||
"precision": 18, | ||
"scale": 2 | ||
} | ||
} | ||
}, | ||
{ | ||
"literal": { | ||
"decimal": { | ||
"value": "kAEAAAAAAAAAAAAAAAAAAA==", | ||
"precision": 18, | ||
"scale": 2 | ||
} | ||
} | ||
}, | ||
{ | ||
"literal": { | ||
"decimal": { | ||
"value": "9AEAAAAAAAAAAAAAAAAAAA==", | ||
"precision": 18, | ||
"scale": 2 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"names": [ | ||
"a#4772" | ||
], | ||
"outputSchema": { | ||
"types": [ | ||
{ | ||
"decimal": { | ||
"scale": 2, | ||
"precision": 18, | ||
"nullability": "NULLABILITY_NULLABLE" | ||
} | ||
} | ||
], | ||
"nullability": "NULLABILITY_REQUIRED" | ||
} | ||
} | ||
} | ||
] | ||
} |
Binary file added
BIN
+488 Bytes
cpp-ch/local-engine/tests/decmial_filter_push_down/18_2_flba.snappy.parquet
Binary file not shown.
Oops, something went wrong.