You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shengkai Fang (Jira)" <ji...@apache.org> on 2022/04/29 06:05:00 UTC

[jira] [Commented] (FLINK-27434) How to convert 'Schema' to 'ResolvedSchema' within 'Catalog'?

    [ https://issues.apache.org/jira/browse/FLINK-27434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529795#comment-17529795 ] 

Shengkai Fang commented on FLINK-27434:
---------------------------------------

Why are you plan to get the memeber from the CatalogManager? I think you can just use CatalogManager#resolveCatalogTable to resolve the table. 

> How to convert 'Schema' to 'ResolvedSchema' within 'Catalog'?
> -------------------------------------------------------------
>
>                 Key: FLINK-27434
>                 URL: https://issues.apache.org/jira/browse/FLINK-27434
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Table SQL / API
>    Affects Versions: 1.14.4
>            Reporter: wuwenchi
>            Priority: Major
>
> I would like to support watermarks and computed columns in iceberg and put expressions for these properties into iceberg table properties. So when the user is modifying the corresponding expression, how can I verify the correctness of the expression?
> I want to do a build with  'Schema'  and then convert to 'ResolvedSchema', but I can't get the 'schemaResolver' which is a primary member of CatalogManager.
> So, how do I get schemaResolver? Or is there an interface in flink that provides expression verification function for watermarks and computed columns?
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)