-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Remove string encoding enum #183
Conversation
5c0dca1
to
03f9324
Compare
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.
Thanks.
case StringEncodingMode::MOSTLY_ASCII: | ||
Func<StringEncodingMode::MOSTLY_ASCII>::apply(args...); | ||
return; | ||
static void apply(const bool mode, Params... args) { |
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: mode -> isAscii for clarity
03f9324
to
5fc2f06
Compare
@kgpai has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
36992b1
to
f02ad11
Compare
@kgpai has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: X-link: facebookincubator/katran#183 X-link: facebook/openr#143 X-link: facebook/fbthrift#536 X-link: facebook/fb303#33 X-link: facebook/folly#1924 FBOSS OSS on-diff job is failing due to random test failures. Disabling the tests for now to avoid build breakages. Reviewed By: shri-khare Differential Revision: D42550176 fbshipit-source-id: fb887cd092adae0a57f7a377fa7e1941c46c5afd
* fix bloom filter validation Encounter this error when we run q93, we increase settings "spark.sql.optimizer.runtime.bloomFilter.maxNumItems" for our tests. Constants check happens before min comparsion, so when next grouping comes, it failed with not constant value error. --------- Co-authored-by: zhli1142015 <zhli@pczhlich.fareast.corp.microsoft.com>
* fix bloom filter validation Encounter this error when we run q93, we increase settings "spark.sql.optimizer.runtime.bloomFilter.maxNumItems" for our tests. Constants check happens before min comparsion, so when next grouping comes, it failed with not constant value error. --------- Co-authored-by: zhli1142015 <zhli@pczhlich.fareast.corp.microsoft.com>
With the recent ascii compute changes (See: #32), the StringEncoding enum is redundant and no longer required.