-
Notifications
You must be signed in to change notification settings - Fork 179
[Backport 2.x] Delete Spark datasource (#2638) #2667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport 2.x] Delete Spark datasource (#2638) #2667
Conversation
* Delete Spark datasource Signed-off-by: Tomoyuki Morita <[email protected]> * Fix build error Signed-off-by: Tomoyuki Morita <[email protected]> * Delete spark_connector.rst Signed-off-by: Tomoyuki Morita <[email protected]> * Add missing test Signed-off-by: Tomoyuki Morita <[email protected]> --------- Signed-off-by: Tomoyuki Morita <[email protected]> (cherry picked from commit de7b367) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Tomoyuki Morita <[email protected]>
Signed-off-by: Tomoyuki Morita <[email protected]>
| assertEquals(new ExprDoubleValue(6.1), row.get("col6")); | ||
| assertEquals(new ExprFloatValue(7.1), row.get("col7")); | ||
| assertEquals(new ExprTimestampValue("2024-01-02 03:04:05.1234"), row.get("col8")); | ||
| assertEquals(new ExprStringValue("2024-01-02 03:04:05.1234"), row.get("col8")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious if we actually want ExprDatetimeValue here instead? my understanding is without #1980 we're using ExprDatetimeValue not ExprStringValue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual representation of the value is String. (sparkType:"timestamp" is considered as ExprCoreType.DATE, and ExprCoreType.DATE item is converted to ExprStringValue.) I'm planning to remove this data conversion and directly return spark data types as response.
Description
Issues Resolved
N/A
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.