Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1913

query log printed abnormally if the query contains "\r" (not "\r\n")

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v1.5.3
    • Fix Version/s: v1.5.3
    • Component/s: None
    • Labels:
      None

      Description

      when the sql request is:

      {"sql":"select sum(lo_revenue) as lo_revenue, d_year, p_brand\rfrom v_lineorder\rleft join dates on lo_orderdate = d_datekey\rleft join part on lo_partkey = p_partkey\rleft join supplier on lo_suppkey = s_suppkey\rwhere p_category = 'MFGR#0206' and s_region = 'AMERICA'\rgroup by d_year, p_brand\rorder by d_year, p_brand\r","offset":0,"limit":50000,"acceptPartial":true,"project":"ssb"}

      the log output will be:

      ==========================[QUERY]===============================
      order by d_year, p_brand#0206' and s_region = 'AMERICA'and
      User: ADMIN
      Success: true
      Duration: 28.288
      Project: ssb
      Realization Names: [ssb]
      Cuboid Ids: [1064]
      Total scan count: 2086851
      Result row count: 6553
      Accept Partial: true
      Is Partial Result: false
      Hit Exception Cache: false
      Storage cache used: false
      Message: null
      ==========================[QUERY]===============================

        Attachments

          Activity

            People

            • Assignee:
              mahongbin Hongbin Ma
              Reporter:
              mahongbin Hongbin Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: