Skip to content
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

[SPARK-28624][SQL][TESTS] Run date.sql via Thrift Server #28721

Closed
wants to merge 1 commit into from

Conversation

MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Jun 3, 2020

What changes were proposed in this pull request?

Enable date.sql and run it via Thrift Server in ThriftServerQueryTestSuite.

Why are the changes needed?

To improve test coverage.

Does this PR introduce any user-facing change?

No

How was this patch tested?

By running the enabled tests via:

$ build/sbt -Phive-thriftserver "hive-thriftserver/test-only *ThriftServerQueryTestSuite -- -z date.sql"

@SparkQA
Copy link

SparkQA commented Jun 3, 2020

Test build #123508 has finished for PR 28721 at commit abd7bed.

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

@maropu
Copy link
Member

maropu commented Jun 3, 2020

retest this please

@maropu
Copy link
Member

maropu commented Jun 3, 2020

Looks nice if the tests passed.

Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

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

LGTM too if tests pass

@SparkQA
Copy link

SparkQA commented Jun 4, 2020

Test build #123512 has finished for PR 28721 at commit abd7bed.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@maropu
Copy link
Member

maropu commented Jun 4, 2020

This fix can be merged into branch-3.0? I'm not really sure that branch-3.0 has no issue described in SPARK-28624 though.

@HyukjinKwon
Copy link
Member

Let me merge it to master first. From reading the JIRA, seems it's fixed only in the master.

@HyukjinKwon
Copy link
Member

Merged to master.

holdenk pushed a commit to holdenk/spark that referenced this pull request Jun 4, 2020
### What changes were proposed in this pull request?
Enable `date.sql` and run it via Thrift Server in `ThriftServerQueryTestSuite`.

### Why are the changes needed?
To improve test coverage.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
By running the enabled tests via:
```
$ build/sbt -Phive-thriftserver "hive-thriftserver/test-only *ThriftServerQueryTestSuite -- -z date.sql"
```

Closes apache#28721 from MaxGekk/enable-date.sql-for-thrift.

Authored-by: Max Gekk <max.gekk@gmail.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
@HyukjinKwon
Copy link
Member

I had an offline discussion with @MaxGekk and @cloud-fan. Per #28723 (comment), I will revert this too.

Again, technically it was fine to merge in a way because the skipped tests passed. I am here reverting this rather for the management purpose - the JIRA isn't resolved yet because we need to discuss if the result is correct or not.

@MaxGekk MaxGekk deleted the enable-date.sql-for-thrift branch June 5, 2020 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants