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

[CORE] Minor refactor of use ValidationResult for supportWriteFilesExec #4589

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

Yohahaha
Copy link
Contributor

No description provided.

Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/oap-project/gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

Copy link

Run Gluten Clickhouse CI

@Yohahaha
Copy link
Contributor Author

@ulysses-you @JkSelf could you help rerun failed CI jobs and review it? thanks!

Copy link
Contributor

@JkSelf JkSelf left a comment

Choose a reason for hiding this comment

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

Good catch. LGTM except one small comment.


def validateCompressionCodec(): Option[String] = {
// Velox doesn't support brotli and lzo.
val unSupportedCompressions = Set("brotli, lzo")
val compressionCodec = WriteFilesExecTransformer.getCompressionCodec(options)
if (unSupportedCompressions.contains(compressionCodec)) {
Some("brotli or lzo compression codec is not support in velox backend.")
Some("brotli or lzo compression codec is not support in Velox backend.")
Copy link
Contributor

Choose a reason for hiding this comment

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

brotli -> Brotli and support -> supported

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok.

@Yohahaha Yohahaha force-pushed the use-validationresult-for-writefiles branch from 5ec504f to d8b7acb Compare January 31, 2024 06:51
Copy link

Run Gluten Clickhouse CI

@ulysses-you ulysses-you merged commit 846ceef into apache:main Jan 31, 2024
18 of 19 checks passed
@GlutenPerfBot
Copy link
Contributor

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query log/native_4589_time.csv log/native_master_01_30_2024_ec7f10c58_time.csv difference percentage
q1 32.65 35.36 2.716 108.32%
q2 24.27 24.10 -0.174 99.28%
q3 37.39 38.51 1.118 102.99%
q4 38.14 38.16 0.025 100.07%
q5 70.16 68.29 -1.877 97.33%
q6 7.12 7.27 0.147 102.06%
q7 83.20 82.16 -1.045 98.74%
q8 85.53 84.80 -0.729 99.15%
q9 124.41 126.41 1.996 101.60%
q10 42.23 44.51 2.280 105.40%
q11 21.29 20.56 -0.723 96.61%
q12 28.26 28.18 -0.079 99.72%
q13 45.32 45.37 0.050 100.11%
q14 15.21 16.65 1.438 109.45%
q15 27.54 28.38 0.837 103.04%
q16 14.74 14.19 -0.545 96.30%
q17 101.54 101.24 -0.299 99.71%
q18 147.13 149.10 1.963 101.33%
q19 14.03 12.63 -1.400 90.02%
q20 26.21 26.37 0.163 100.62%
q21 224.69 226.96 2.271 101.01%
q22 13.89 13.51 -0.381 97.26%
total 1224.95 1232.71 7.755 100.63%

@Yohahaha Yohahaha deleted the use-validationresult-for-writefiles branch January 31, 2024 14:24
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.

None yet

4 participants