Dear list,

I need to use a Table Source to extract data from a PostgreSQL table that includes a column of type uuid. Data in the column is converted to java.util.UUID by the postgresql jdbc driver (I guess) however I was not able to find a way to define a Table schema for correctly reading that column (selecting RAW(TypeInformation.of(UUID.class)) does not work providing the following error:

org.apache.flink.table.api.ValidationException: Type RAW('java.util.UUID', ?) of table field 'datastream' does not match with the physical type LEGACY('RAW', 'ANY<java.util.UUID>') of the 'datastream' field of the TableSource return type.

Did someone encountered the same issue? Does someone have any suggestion on how to proceed?


Thank you very much

Dario


--
Ing. Dario Bonino, Ph.D

e-m@il: dario.bon...@gmail.com
www: https://www.linkedin.com/in/dariobonino
<foaf:Person>
        <foaf:firstName>Dario</foaf:firstName>
        <foaf:surname>Bonino</foaf:surname>
        <foaf:msnChatID>slide...@hotmail.com</foaf:msnChatID>
</foaf:Person>

Reply via email to