@@ -79,7 +79,7 @@ public void exec(String sql, Map<String, SideTableInfo> sideTableMap, StreamTabl
7979 Queue <Object > exeQueue = sideSQLParser .getExeQueue (sql , sideTableMap .keySet ());
8080 Object pollObj = null ;
8181
82- //TODO 需要清理
82+ //need clean
8383 boolean preIsSideJoin = false ;
8484 List <FieldReplaceInfo > replaceInfoList = Lists .newArrayList ();
8585
@@ -150,7 +150,7 @@ public void exec(String sql, Map<String, SideTableInfo> sideTableMap, StreamTabl
150150 RowTypeInfo typeInfo = new RowTypeInfo (targetTable .getSchema ().getTypes (), targetTable .getSchema ().getColumnNames ());
151151 DataStream adaptStream = tableEnv .toAppendStream (targetTable , org .apache .flink .types .Row .class );
152152
153- //join side table 之前先 keyby ===>减少 维表在各个async 的缓存大小
153+ //join side table before keyby ===> Reducing the size of each dimension table cache of async
154154 if (sideTableInfo .isPartitionedJoin ()){
155155 List <String > leftJoinColList = getConditionFields (joinInfo .getCondition (), joinInfo .getLeftTableAlias ());
156156 String [] leftJoinColArr = new String [leftJoinColList .size ()];
@@ -159,7 +159,7 @@ public void exec(String sql, Map<String, SideTableInfo> sideTableMap, StreamTabl
159159 }
160160
161161 AsyncReqRow asyncDbReq = loadAsyncReq (sideTableInfo .getType (), localSqlPluginPath , typeInfo , joinInfo , sideJoinFieldInfo , sideTableInfo );
162- //TODO 并行度应该设置为多少?超时时间设置? capacity设置?
162+ //TODO How much should be set for the degree of parallelism? Timeout? capacity settings?
163163 DataStream dsOut = AsyncDataStream .orderedWait (adaptStream , asyncDbReq , 10000 , TimeUnit .MILLISECONDS , 10 )
164164 .setParallelism (sideTableInfo .getParallelism ());
165165
@@ -526,7 +526,7 @@ private SqlNode replaceSelectFieldName(SqlNode selectNode, HashBasedTable<String
526526 }
527527
528528 /**
529- * 判断维表的join 条件十分包含全部的等值条件(即是维表定义中的主键)
529+ * Analyzing conditions are very join the dimension tables include all equivalent conditions (i.e., dimension table is the primary key definition
530530 * @return
531531 */
532532 private boolean checkJoinCondition (SqlNode conditionNode , String sideTableAlias , List <String > primaryKeys ){
0 commit comments