You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2018/03/15 11:42:00 UTC

[jira] [Created] (FLINK-8953) Resolve unresolved field references in FieldComputer expressions

Timo Walther created FLINK-8953:
-----------------------------------

             Summary: Resolve unresolved field references in FieldComputer expressions
                 Key: FLINK-8953
                 URL: https://issues.apache.org/jira/browse/FLINK-8953
             Project: Flink
          Issue Type: Improvement
          Components: Table API &amp; SQL
            Reporter: Timo Walther


When implementing the {{FieldComputer.getExpression}} method, it is not possible to use API classes but only internal expression case classes.

It would be great to also define timestamp extractors like:

{code}
  def getExpression(fieldAccesses: Array[ResolvedFieldReference]): Expression = {
    // 'x.cast(Types.LONG)
    // ExpressionParser.parseExpression("x.cast(LONG)")
  }
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)