Skip to content

Conversation

@ykmr1224
Copy link
Collaborator

@ykmr1224 ykmr1224 commented May 10, 2024

Description

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

github-actions bot and others added 2 commits April 30, 2024 22:37
* 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>
@ykmr1224 ykmr1224 changed the title Backport/backport 2638 to 2.x [Backport 2.x] Delete Spark datasource (#2638) May 10, 2024
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"));
Copy link
Collaborator

@seankao-az seankao-az May 13, 2024

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

Copy link
Collaborator Author

@ykmr1224 ykmr1224 May 13, 2024

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.

@ykmr1224 ykmr1224 merged commit 8a9d38c into opensearch-project:2.x May 13, 2024
@ykmr1224 ykmr1224 deleted the backport/backport-2638-to-2.x branch May 15, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants