Skip to content

Commit

Permalink
Control memory use for sample partition column and key column.
Browse files Browse the repository at this point in the history
Refactor doSample function.
  • Loading branch information
Jibing-Li committed Jan 8, 2025
1 parent c983e83 commit c059119
Show file tree
Hide file tree
Showing 3 changed files with 421 additions and 311 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public abstract class BaseAnalysisTask {
+ " NOW() AS `update_time` "
+ " FROM `${catalogName}`.`${dbName}`.`${tblName}` ${index}";

protected static final String LINEAR_ANALYZE_TEMPLATE = " SELECT "
protected static final String LINEAR_ANALYZE_TEMPLATE = "SELECT "
+ "CONCAT(${tblId}, '-', ${idxId}, '-', '${colId}') AS `id`, "
+ "${catalogId} AS `catalog_id`, "
+ "${dbId} AS `db_id`, "
Expand Down
Loading

0 comments on commit c059119

Please sign in to comment.