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

SQL aliases does not work properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • SQL Parser
    • None

    Description

      git.commit.id.abbrev=0d6befc

      SQL aliases does not work properly. Run the following query in SQLLine, we get

      0: jdbc:drill:local=127.0.0.1:31010> select name as alias_name from sys.options limit 1;
      +------------+
      |    name    |
      +------------+
      | drill.exec.rpc.bit.server.retry.delay |
      +------------+
      1 row selected (0.297 seconds)
      

      The same issue exists for hive table and dfs. View works fine though. It causes the tableau issue in DRILL-1228.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xiaom Xiaomeng Huang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: