@@ -407,7 +407,6 @@ public class SessionVariable implements Serializable, Writable {
407407 SHOW_HIDDEN_COLUMNS
408408 );
409409
410- public static final String QUERY_MAX_SCAN_BYTES = "query_max_scan_bytes" ;
411410 // session origin value
412411 public Map <Field , String > sessionOriginValue = new HashMap <Field , String >();
413412 // check stmt is or not [select /*+ SET_VAR(...)*/ ...]
@@ -1137,14 +1136,6 @@ public void setMaxJoinNumberOfReorder(int maxJoinNumberOfReorder) {
11371136 @ VariableMgr .VarAttr (name = ENABLE_UNIQUE_KEY_PARTIAL_UPDATE , needForward = true )
11381137 public boolean enableUniqueKeyPartialUpdate = false ;
11391138
1140- @ VariableMgr .VarAttr (name = QUERY_MAX_SCAN_BYTES , needForward = true ,
1141- description = {"Query 在单个 BE 最大扫描的数据量, 单位字节" ,
1142- "Query largest scan bytes in single BE, Unit bytes" })
1143- private long queryMaxScanBytes = -1 ;
1144-
1145- @ VariableMgr .VarAttr (name = "in_to_minmax_parition_rewrite_threshold" , needForward = true )
1146- public double inToMinmaxParitionRewriteThreshold = 0.2 ;
1147-
11481139 // If this fe is in fuzzy mode, then will use initFuzzyModeVariables to generate some variables,
11491140 // not the default value set in the code.
11501141 public void initFuzzyModeVariables () {
@@ -2247,7 +2238,6 @@ public TQueryOptions toThrift() {
22472238 tResult .setTruncateCharOrVarcharColumns (truncateCharOrVarcharColumns );
22482239
22492240 tResult .setInvertedIndexConjunctionOptThreshold (invertedIndexConjunctionOptThreshold );
2250- tResult .setQueryMaxScanBytes (queryMaxScanBytes );
22512241
22522242 return tResult ;
22532243 }
@@ -2436,7 +2426,6 @@ public TQueryOptions getQueryOptionVariables() {
24362426 queryOptions .setScanQueueMemLimit (Math .min (maxScanQueueMemByte , maxExecMemByte / 20 ));
24372427 queryOptions .setQueryTimeout (queryTimeoutS );
24382428 queryOptions .setInsertTimeout (insertTimeoutS );
2439- queryOptions .setQueryMaxScanBytes (queryMaxScanBytes );
24402429 return queryOptions ;
24412430 }
24422431
0 commit comments