Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-6567

ExpressionEvaluators numeric types conversion support

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Example:

      table tbl (a: bigint)

       
      data skipping work only if both types are the same. If we use

      select * from tbl where a > 10

      data skipping will not work, we have to use explicit cast:

      select * from tbl where a > cast(10 as bigint)

       
      Problem may be solved converting all numeric types to BigDecimal (without information lose):

      by 20 lines of source code, without necessity of adding new rule or filter in flink engine (which can support more complex types conversion, such as string -> integer, but i think there is no need in such conversions)

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            alowator Mark Bukhner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment