Suparn Lele
02/09/2023, 4:35 AMweijie guo
02/09/2023, 6:40 AMT (pipeline1) + T(pipeline2) + T (pipeline30), do you mean that the actual time consuming is much more than this?Suparn Lele
02/09/2023, 6:58 AMweijie guo
02/09/2023, 7:31 AMis there any configuration in table api batch mode where I can set up the number of records to fetch. So that it wont load all data at once for all source tables?This depends on which connector you use. To be honest, I don't particularly understand why reading partial data at one time can solve the problem. What I understand is: The reason why we must be executed in sequence is that there is data dependency. For example, the data of table2 is written after table1 is processed. Is the scene I understand not quite consistent with what you said?
Suparn Lele
02/09/2023, 7:38 AMSuparn Lele
02/09/2023, 7:39 AMSuparn Lele
02/09/2023, 7:40 AMweijie guo
02/09/2023, 8:02 AMflink jdbc connector document that can meet this behavior.🤔Suparn Lele
02/09/2023, 8:05 AMweijie guo
02/09/2023, 8:17 AMSuparn Lele
02/09/2023, 8:25 AMweijie guo
02/09/2023, 8:54 AMSuparn Lele
02/09/2023, 9:10 AMweijie guo
02/09/2023, 10:18 AMSuparn Lele
02/09/2023, 11:10 AMSuparn Lele
02/09/2023, 11:20 AMSuparn Lele
02/13/2023, 3:18 AMweijie guo
02/13/2023, 3:55 AMSuparn Lele
02/13/2023, 3:59 AMweijie guo
02/13/2023, 4:12 AMSuparn Lele
02/13/2023, 4:17 AMweijie guo
02/13/2023, 7:17 AMthe source (implemented using tabe api catalogues) only loads data through 1 thread and 3 of them remain idleWhat exactly does
idle mean? If I remember correctly, JDBC source has a partition number parameter. If the parallelism is greater than the partition number, the task corresponding to the exceeded part will be directly finished.Suparn Lele
02/13/2023, 7:17 AMSuparn Lele
02/13/2023, 7:17 AMSuparn Lele
02/13/2023, 7:19 AMweijie guo
02/13/2023, 7:19 AMSuparn Lele
02/13/2023, 7:31 AMval newCatalogue = new JdbcCatalog(catalogueName, dbName, username, password, urlWithoutDB)
Whatever options that you mentioned are from jdbc connector. I am using jdbc catalog. I am not sure how to pass these options in catalogweijie guo
02/13/2023, 7:41 AMSuparn Lele
02/13/2023, 8:35 AMSuparn Lele
02/14/2023, 4:31 AMSuparn Lele
02/14/2023, 4:33 AM"'scan.partition.column' = 'timestamp',\n" +
"'scan.partition.num' = '8',\n" +
s"'scan.partition.lower-bound' = '2023-02-12T00:00:00Z',\n" +
s"'scan.partition.lower-bound' = '2023-02-12T00:01:00Z'\n" +Suparn Lele
02/14/2023, 4:37 AMidle mean? If I remember correctly, JDBC source has a partition number parameter. If the parallelism is greater than the partition number, the task corresponding to the exceeded part will be directly finished.
So did you face this issue? And you resolved it using scan.parition.column option?weijie guo
02/14/2023, 5:32 AMI was wondering, shouldnt it be a default behaviour of table APIs to do this partitioning internally if default parallelism is provided?I guess this may be because Flink is hard to decide by which column it should partition.
weijie guo
02/14/2023, 5:36 AMSuparn Lele
02/14/2023, 5:37 AM