uncleGen opened a new pull request #3630:
URL: https://github.com/apache/hudi/pull/3630
## What is the purpose of the pull request
This is a follow-ups for PR #972. NPE will be thrown when we use 'select
count(*)' or 'select count(1)' from a realtime table. As commented, this is a
Hive bug (HIVE-22438), but we should resolve it as many users are using Hive
less than version 3.0.0. Unfortunately, #972 dose not completely walk around
this bug. In #972, we correct `hive.io.file.readcolumn.ids` with a right
string, i.e. '2,0,1', but this config will be reset with a wrong ',2,0,1'
(ref: HIVE-22438). Then this wrong config will be used to create RecordReader,
and NPE thrown.
## Brief change log
*(for example:)*
- *Modify AnnotationLocation checkstyle rule in checkstyle.xml*
## Verify this pull request
This pull request is a trivial rework
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]