Uploaded image for project: 'RecordService (READ-ONLY)'
  1. RecordService (READ-ONLY)
  2. RS-171

Fix syntax error when creating tmp table for path request

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Server
    • Labels:
      None

      Description

      For path request, RS will create a tmp table. Currently, the name of tmp table contains the planner's ip / host name. If the hostname has some invalid var (e.g. '-') for a table name, then it will fail with the syntax error:

      I0520 10:36:56.499624 18061 impala-recordservice-server.cc:104] RecordService request failed. code=0 msg=Could not create temporary table. detail=AnalysisException: Syntax error in line 1:
      ...TABLE rs_tmp_db.tmp_tbl_s3-test-1_vpc_cloudera_com_177...
      

        Attachments

          Activity

            People

            • Assignee:
              lilicn Li Li
              Reporter:
              lilicn Li Li
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: