Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
Signed-off-by: Song Jiacheng <[email protected]>
  • Loading branch information
Jcnessss committed Nov 22, 2024
1 parent c7b097a commit c2dca5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/connector/hive_connector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ DataSourcePtr HiveDataSourceProvider::create_data_source(const TScanRange& scan_
}

bool HiveDataSourceProvider::always_shared_scan(TScanRangeParams scan_range) const {
return scan_range.scan_range.hdfs_scan_range.__isset.use_kudu_jni_reader &&
scan_range.scan_range.hdfs_scan_range.use_kudu_jni_reader;
return !scan_range.scan_range.hdfs_scan_range.__isset.use_kudu_jni_reader &&
!scan_range.scan_range.hdfs_scan_range.use_kudu_jni_reader;
}

const TupleDescriptor* HiveDataSourceProvider::tuple_descriptor(RuntimeState* state) const {
Expand Down

0 comments on commit c2dca5c

Please sign in to comment.