Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2501

When using presto to query the dictionary index column, presto server OOM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • None
    • None
    • None
    • presto 0.187
      carbondata in master branch/1.3.1/1.4

    Description

      1. create tables sql:

      carbon.sql("CREATE TABLE IF NOT EXISTS pt2.order_detail ( id BIGINT, order_code STRING, sales_area_id INT, sales_id INT, order_inputer INT, pro_type STRING, currency INT, exchange_rate DECIMAL, unit_cost_price DECIMAL, unit_selling_price DECIMAL, order_num INTEGER, order_amount DECIMAL, order_discount DOUBLE, order_account_amount DECIMAL, order_time TIMESTAMP, delivery_channel INT, delivery_address STRING, recipients STRING, contact STRING, delivery_date DATE, comments STRING ) STORED BY 'carbondata' TBLPROPERTIES ('DICTIONARY_INCLUDE' = 'recipients,contact,sales_area_id,sales_id', 'NO_INVERTED_INDEX' = 'id,order_code' )").show()

       

      2. presto query:

      when 'select id from carbondata.pt2.order_detail limit 1' is normal

      when 'select recipients from carbondata.pt2.order_detail limit 1'  , presto server is oom.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevintop Kevin Kong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: