n3nash commented on issue #2633:
URL: https://github.com/apache/hudi/issues/2633#issuecomment-790917128
@umehrot2 From what you are describing, it looks like a bug. When we
configure HbaseIndex, we automatically assume
```
public boolean canIndexLogFiles() {
return true;
}
```
and inserts go into log files.
But this part of the code ->
https://github.com/apache/hudi/blob/release-0.6.0/hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java#L190
is assuming that either
a) inserts first go into parquet files in which case there will be a
base file or
b) Delta file was already written earlier and needs to be re-sized.
Ideally, this code should create a new log file with the new base instant
time and send inserts there.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]