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


##########
seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/catalog/sqlserver/SqlServerCatalog.java:
##########
@@ -100,91 +94,26 @@ protected String getSelectColumnsSql(TablePath tablePath) {
     @Override
     protected Column buildColumn(ResultSet resultSet) throws SQLException {

Review Comment:
   ```
   
+------------+-----------+-------+---------+--------------+----------+---------+-----+-----------+-------------+
   |table_name  |column_name|comment|column_id|type          
|max_length|precision|scale|is_nullable|default_value|
   
+------------+-----------+-------+---------+--------------+----------+---------+-----+-----------+-------------+
   |full_types_1|id         |null   |1        |int           |4         |10     
  |0    |false      |null         |
   |full_types_1|f1         |null   |2        |bit           |1         |1      
  |0    |true       |null         |
   |full_types_1|f2         |null   |3        |tinyint       |1         |3      
  |0    |true       |null         |
   |full_types_1|f3         |null   |4        |smallint      |2         |5      
  |0    |true       |null         |
   |full_types_1|f4         |null   |5        |int           |4         |10     
  |0    |true       |null         |
   |full_types_1|f5         |null   |6        |int           |4         |10     
  |0    |true       |null         |
   |full_types_1|f6         |null   |7        |bigint        |8         |19     
  |0    |true       |null         |
   |full_types_1|f7         |null   |8        |real          |4         |24     
  |0    |true       |null         |
   |full_types_1|f8         |null   |9        |real          |4         |24     
  |0    |true       |null         |
   |full_types_1|f9         |null   |10       |float         |8         |53     
  |0    |true       |null         |
   |full_types_1|f10        |null   |11       |decimal       |9         |18     
  |0    |true       |null         |
   |full_types_1|f11        |null   |12       |decimal       |17        |38     
  |18   |true       |null         |
   |full_types_1|f12        |null   |13       |numeric       |9         |18     
  |0    |true       |null         |
   |full_types_1|f13        |null   |14       |numeric       |17        |38     
  |18   |true       |null         |
   |full_types_1|f14        |null   |15       |money         |8         |19     
  |4    |true       |null         |
   |full_types_1|f15        |null   |16       |smallmoney    |4         |10     
  |4    |true       |null         |
   |full_types_1|f16        |null   |17       |char          |1         |0      
  |0    |true       |null         |
   |full_types_1|f17        |null   |18       |char          |1         |0      
  |0    |true       |null         |
   |full_types_1|f18        |null   |19       |nchar         |2         |0      
  |0    |true       |null         |
   |full_types_1|f19        |null   |20       |nchar         |2         |0      
  |0    |true       |null         |
   |full_types_1|f20        |null   |21       |varchar       |1         |0      
  |0    |true       |null         |
   |full_types_1|f21        |null   |22       |varchar       |1         |0      
  |0    |true       |null         |
   |full_types_1|f22        |null   |23       |varchar       |-1        |0      
  |0    |true       |null         |
   |full_types_1|f23        |null   |24       |nvarchar      |2         |0      
  |0    |true       |null         |
   |full_types_1|f24        |null   |25       |nvarchar      |2         |0      
  |0    |true       |null         |
   |full_types_1|f25        |null   |26       |nvarchar      |-1        |0      
  |0    |true       |null         |
   |full_types_1|f26        |null   |27       |text          |16        |0      
  |0    |true       |null         |
   |full_types_1|f27        |null   |28       |ntext         |16        |0      
  |0    |true       |null         |
   |full_types_1|f28        |null   |29       |xml           |-1        |0      
  |0    |true       |null         |
   |full_types_1|f29        |null   |30       |binary        |1         |0      
  |0    |true       |null         |
   |full_types_1|f30        |null   |31       |binary        |1         |0      
  |0    |true       |null         |
   |full_types_1|f31        |null   |32       |varbinary     |1         |0      
  |0    |true       |null         |
   |full_types_1|f32        |null   |33       |varbinary     |1         |0      
  |0    |true       |null         |
   |full_types_1|f33        |null   |34       |varbinary     |-1        |0      
  |0    |true       |null         |
   |full_types_1|f34        |null   |35       |image         |16        |0      
  |0    |true       |null         |
   |full_types_1|f35        |null   |36       |date          |3         |10     
  |0    |true       |null         |
   |full_types_1|f36        |null   |37       |time          |5         |16     
  |7    |true       |null         |
   |full_types_1|f37        |null   |38       |time          |4         |12     
  |3    |true       |null         |
   |full_types_1|f38        |null   |39       |datetime      |8         |23     
  |3    |true       |null         |
   |full_types_1|f39        |null   |40       |datetime2     |8         |27     
  |7    |true       |null         |
   |full_types_1|f40        |null   |41       |datetime2     |7         |23     
  |3    |true       |null         |
   |full_types_1|f41        |null   |42       |datetimeoffset|10        |34     
  |7    |true       |null         |
   |full_types_1|f42        |null   |43       |datetimeoffset|9         |30     
  |3    |true       |null         |
   |full_types_1|f43        |null   |44       |smalldatetime |4         |16     
  |0    |true       |null         |
   
+------------+-----------+-------+---------+--------------+----------+---------+-----+-----------+-------------+
   ```



-- 
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