Skip to content

Commit

Permalink
15
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyiZzz committed Nov 2, 2023
1 parent 1d74e86 commit d1fcb74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion be/src/runtime/result_buffer_mgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ResultBufferMgr {
// fetch data result to Arrow Flight Server
Status fetch_arrow_data(const TUniqueId& finst_id, std::shared_ptr<arrow::RecordBatch>* result);

void register_arrow_schema(const TUniqueId& query_id,
static void register_arrow_schema(const TUniqueId& query_id,
const std::shared_ptr<arrow::Schema>& arrow_schema);
std::shared_ptr<arrow::Schema> find_arrow_schema(const TUniqueId& query_id);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ private void handleQueryStmt() throws Exception {
boolean isOutfileQuery = queryStmt.hasOutFileClause();

// Sql and PartitionCache
CacheAnalyzer cacheAnalyzer = new CacheAnalyzer(context, parsedStmt, planner);\
CacheAnalyzer cacheAnalyzer = new CacheAnalyzer(context, parsedStmt, planner);
// TODO support arrow flight sql
if (context.getConnectType().equals(ConnectType.MYSQL) && cacheAnalyzer.enableCache() && !isOutfileQuery
&& context.getSessionVariable().getSqlSelectLimit() < 0
Expand Down

0 comments on commit d1fcb74

Please sign in to comment.