-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[multistage][hotfix] use UTF-8 as default CharSet, this is also true for v1 engine #12213
Conversation
e3ee0b9
to
05f48dc
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #12213 +/- ##
============================================
+ Coverage 61.51% 61.55% +0.04%
Complexity 1153 1153
============================================
Files 2415 2416 +1
Lines 131157 131177 +20
Branches 20245 20245
============================================
+ Hits 80683 80751 +68
+ Misses 44575 44523 -52
- Partials 5899 5903 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -39,11 +41,17 @@ | |||
* upgrading Calcite versions. | |||
*/ | |||
public class TypeFactory extends JavaTypeFactoryImpl { | |||
private static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8; |
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.
is there anyway to set default charset?
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.
this is the way to set the default charset (e.g. via overriding typeFactory).
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.
Please add a PR description.
pinot uses UTF-8 as the default encoding so we should follow the same for V2 engine