You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "visiontk (via GitHub)" <gi...@apache.org> on 2024/09/05 08:53:31 UTC

[I] Doesn't support SQLSERVER type 'UNIQUEIDENTIFIER' on column 'Id' [seatunnel]

visiontk opened a new issue, #7590:
URL: https://github.com/apache/seatunnel/issues/7590

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   Doesn't support SQLSERVER type 'UNIQUEIDENTIFIER' on column 'Id'
   
   ### SeaTunnel Version
   
    apache-seatunnel-2.3.7 
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 2
     job.mode = "BATCH"
   }
   source {
       Jdbc {
           driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
           url = "jdbc:sqlserver://ip;databaseName="
           user = "sa"
           password = ""
           query = "select top 100 * from  table where CreationTime> '${maxtime}' order by CreationTime"
       }
   }
   sink {
     jdbc {
       url = "jdbc:mysql://ip/?"
       driver = "com.mysql.cj.jdbc.Driver"
       user = ""
       password = ""
       generate_sink_sql = true
       database = ""
       table = ""
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   null
   ```
   
   
   ### Error Exception
   
   ```log
   08:51:05.155 [main] WARN org.apache.seatunnel.connectors.seatunnel.jdbc.source.JdbcSource - get row type info exception
   
   	org.apache.seatunnel.connectors.seatunnel.jdbc.exception.JdbcConnectorException: ErrorCode:[COMMON-05], ErrorDescription:[Unsupported operation] - Doesn't support SQLSERVER type 'UNIQUEIDENTIFIER' on column 'Id'  yet.
   
   		at org.apache.seatunnel.connectors.seatunnel.jdbc.internal.dialect.sqlserver.SqlserverTypeMapper.mapping(SqlserverTypeMapper.java:130)
   
   		at org.apache.seatunnel.connectors.seatunnel.jdbc.source.JdbcSource.initTableField(JdbcSource.java:178)
   
   		at
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Doesn't support SQLSERVER type 'UNIQUEIDENTIFIER' on column 'Id' [seatunnel]

Posted by "zhangshenghang (via GitHub)" <gi...@apache.org>.
zhangshenghang commented on issue #7590:
URL: https://github.com/apache/seatunnel/issues/7590#issuecomment-2331118971

   Please assign it to me


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Doesn't support SQLSERVER type 'UNIQUEIDENTIFIER' on column 'Id' [seatunnel]

Posted by "zhangshenghang (via GitHub)" <gi...@apache.org>.
zhangshenghang commented on issue #7590:
URL: https://github.com/apache/seatunnel/issues/7590#issuecomment-2334282882

   Error `SqlserverTypeMapper.java:130`, does not exist in the code. This issue has been resolved.
   
   
   Please confirm whether your version is correct.
   
   - https://github.com/apache/seatunnel/pull/6122 
   - [https://github.com/apache/seatunnel/blob/2.3.7-release/seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/dialect/sqlserver/SqlserverTypeMapper.java](https://github.com/apache/seatunnel/blob/2.3.7-release/seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/dialect/sqlserver/SqlserverTypeMapper.java)


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Doesn't support SQLSERVER type 'UNIQUEIDENTIFIER' on column 'Id' [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7590:
URL: https://github.com/apache/seatunnel/issues/7590#issuecomment-2463485538

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Doesn't support SQLSERVER type 'UNIQUEIDENTIFIER' on column 'Id' [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7590: Doesn't support SQLSERVER type 'UNIQUEIDENTIFIER' on column 'Id'
URL: https://github.com/apache/seatunnel/issues/7590


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org