Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2054

Support `||` as "concat operator" for varchar inputs

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

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Future
    • None
    • None

    Description

      For example, the query:
      select n_nationkey || ' + ' || n_name || ' = ' as CONCAT, n_nationkey, ' + ' as PLUS, n_name from cp.`tpch/nation.parquet`

      should print out
      CONCAT n_nationkey PLUS n_name
      0 + ALGERIA = 0 + ALGERIA
      1 + ARGENTINA = 1 + ARGENTINA
      2 + BRAZIL = 2 + BRAZIL
      3 + CANADA = 3 + CANADA
      ... ... ... (rows/records are omitted due to space limitation)

      Attachments

        Issue Links

        Activity

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

          People

            seanhychu Sean Hsuan-Yi Chu
            seanhychu Sean Hsuan-Yi Chu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment