-
Notifications
You must be signed in to change notification settings - Fork 442
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] Add nativeFilters info for simpleString of scan #8169
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/apache/incubator-gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
Run Gluten Clickhouse CI on x86 |
@zml1206 Would you like to add an example to demonstrate on the difference made by the change? Thanks! |
Added scan change in PR describe. |
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.
Just one minor. Thank you.
override def simpleString(maxFields: Int): String = { | ||
val truncatedOutputString = truncatedString(output, "[", ", ", "]", maxFields) | ||
val runtimeFiltersString = s"RuntimeFilters: ${runtimeFilters.mkString("[", ",", "]")}" | ||
val nativeFiltersString = s"nativeFilters: ${filterExprs().mkString("[", ",", "]")}" |
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.
Nit: Do we prefer NativeFilters
than nativeFilters
?
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.
Good catch, thank you.
key + ": " + StringUtils.abbreviate(redact(value), maxMetadataValueLength) | ||
} | ||
val metadataStr = truncatedString(metadataEntries, " ", ", ", "", maxFields) | ||
val nativeFiltersString = s"nativeFilters: ${filterExprs().mkString("[", ",", "]")}" |
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.
ditto
Run Gluten Clickhouse CI on x86 |
What changes were proposed in this pull request?
SQL:
select l_partkey from lineitem where l_partkey + 1 > 5 and rand() < 0.5
Before pr:
V1:
V2:
After pr:
V1:
V2:
How was this patch tested?