hailin0 commented on code in PR #5781:
URL: https://github.com/apache/seatunnel/pull/5781#discussion_r1390180608


##########
docs/en/connector-v2/source/LocalFile.md:
##########
@@ -244,11 +245,71 @@ The compress codec of files and the details that 
supported as the following show
 
 Source plugin common parameters, please refer to [Source Common 
Options](common-options.md) for details
 
+### local_file_source_configs
+
+Used to define a multiple table task, when you have multiple tables to read, 
you can use this option to define multiple tables.
+
 ## Example
 
+### One Table
+
+```hocon
+
+LocalFile {
+  local_file_source_configs = [
+    {
+      schema {
+        table = "student"
+      }
+      path = "/apps/hive/demo/student"
+      file_format_type = "parquet"
+    },
+    {
+      schema {
+        table = "teacher"
+      }
+      path = "/apps/hive/demo/teacher"
+      file_format_type = "parquet"
+    }
+  ]
+}
+
+```
+
+```hocon
+
+LocalFile {
+  local_file_source_configs = [
+    {
+      schema {
+        fields {
+          name = string
+          age = int
+        }
+      }
+      path = "/apps/hive/demo/student"
+      file_format_type = "json"
+    },
+    {
+      schema {
+        fields {
+          name = string
+          age = int
+        }
+      }
+      path = "/apps/hive/demo/teacher"
+      file_format_type = "json"
+    }
+}
+
+```
+
+### Multiple Table
+
 ```hocon
 
 LocalFile {
+  lo

Review Comment:
   why use lo?



##########
docs/en/connector-v2/source/LocalFile.md:
##########
@@ -244,11 +245,71 @@ The compress codec of files and the details that 
supported as the following show
 
 Source plugin common parameters, please refer to [Source Common 
Options](common-options.md) for details
 
+### local_file_source_configs
+
+Used to define a multiple table task, when you have multiple tables to read, 
you can use this option to define multiple tables.
+
 ## Example
 
+### One Table
+
+```hocon
+
+LocalFile {
+  local_file_source_configs = [
+    {
+      schema {
+        table = "student"
+      }
+      path = "/apps/hive/demo/student"
+      file_format_type = "parquet"
+    },
+    {
+      schema {
+        table = "teacher"
+      }
+      path = "/apps/hive/demo/teacher"
+      file_format_type = "parquet"
+    }
+  ]
+}
+
+```
+
+```hocon
+
+LocalFile {
+  local_file_source_configs = [
+    {
+      schema {
+        fields {
+          name = string
+          age = int
+        }
+      }
+      path = "/apps/hive/demo/student"
+      file_format_type = "json"
+    },
+    {
+      schema {
+        fields {
+          name = string
+          age = int
+        }
+      }
+      path = "/apps/hive/demo/teacher"
+      file_format_type = "json"
+    }
+}
+
+```
+
+### Multiple Table
+
 ```hocon
 
 LocalFile {
+  lo

Review Comment:
   why use lo?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to