Skip to content

Conversation

@walterddr
Copy link
Contributor

@walterddr walterddr commented Jan 2, 2024

pinot uses UTF-8 as the default encoding so we should follow the same for V2 engine

@walterddr walterddr added bugfix multi-stage Related to the multi-stage query engine labels Jan 2, 2024
@walterddr walterddr force-pushed the hotfix_default_charset branch from e3ee0b9 to 05f48dc Compare January 2, 2024 17:30
@codecov-commenter
Copy link

codecov-commenter commented Jan 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5b4e19a) 61.51% compared to head (a1246d1) 61.55%.
Report is 3 commits behind head on master.

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     
Flag Coverage Δ
custom-integration1 <0.01% <0.00%> (ø)
integration <0.01% <0.00%> (ø)
integration1 <0.01% <0.00%> (ø)
integration2 0.00% <0.00%> (ø)
java-11 34.77% <100.00%> (+<0.01%) ⬆️
java-21 61.44% <100.00%> (+0.04%) ⬆️
skip-bytebuffers-false 34.79% <100.00%> (-26.71%) ⬇️
skip-bytebuffers-true 61.42% <100.00%> (+0.04%) ⬆️
temurin 61.55% <100.00%> (+0.04%) ⬆️
unittests 61.55% <100.00%> (+0.04%) ⬆️
unittests1 46.60% <100.00%> (+<0.01%) ⬆️
unittests2 27.74% <0.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* upgrading Calcite versions.
*/
public class TypeFactory extends JavaTypeFactoryImpl {
private static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;
Copy link
Contributor

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?

Copy link
Contributor Author

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).

Copy link
Contributor

@xiangfu0 xiangfu0 left a 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.

@walterddr walterddr merged commit d1cc17c into apache:master Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix multi-stage Related to the multi-stage query engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants