Skip to content

[SPARK-22816][TEST] Basic tests for PromoteStrings and InConversion #20001

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

Closed
wants to merge 3 commits into from
Closed

[SPARK-22816][TEST] Basic tests for PromoteStrings and InConversion #20001

wants to merge 3 commits into from

Conversation

wangyum
Copy link
Member

@wangyum wangyum commented Dec 16, 2017

What changes were proposed in this pull request?

Test Coverage for PromoteStrings and InConversion, this is a Sub-tasks for SPARK-22722.

How was this patch tested?

N/A

@wangyum wangyum changed the title [SPARK-22762][TEST] Basic tests for PromoteStrings and InConversion [SPARK-22816][TEST] Basic tests for PromoteStrings and InConversion Dec 16, 2017
@SparkQA
Copy link

SparkQA commented Dec 16, 2017

Test build #85007 has finished for PR 20001 at commit 604f16f.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Dec 16, 2017

Test build #85008 has finished for PR 20001 at commit 9f48bf7.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

SELECT cast(1 as string) in (cast('2017-12-11 09:30:00.0' as timestamp)) FROM t;
SELECT cast(1 as string) in (cast('2017-12-11 09:30:00' as date)) FROM t;
-- Hive and Spark SQL doesn't support below operations:
-- SELECT cast(1 as string) in (cast('1' as binary)) FROM t;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the cases we do not support, we should still keep them.

Just ensure the type coercion rule is not changed and the error messages are reasonable.

@SparkQA
Copy link

SparkQA commented Dec 17, 2017

Test build #85020 has finished for PR 20001 at commit 400714c.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@gatorsmile
Copy link
Member

LGTM

@gatorsmile
Copy link
Member

Thanks! Merged to master.

@asfgit asfgit closed this in 7f6d10a Dec 17, 2017
@SparkQA
Copy link

SparkQA commented Dec 17, 2017

Test build #85024 has finished for PR 20001 at commit 400714c.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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