Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-705

CTAS always stores tables with CSV storage type into catalog

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0, 0.9.0
    • Component/s: Planner/Optimizer
    • Labels:
      None

      Description

      I'm suspecting that this bug is introduced recently.

      The reproduction code is as follows:

      tajo> create table rctest using rcfile as select * from region_100;
      Progress: 100%, response time: 0.947 sec
      final state: QUERY_SUCCEEDED, response time: 0.947 sec
      OK
      tajo> \d rctest;
      
      table name: rctest
      table path: hdfs://gruter102:6020/tajo/warehouse/rctest
      store type: CSV
      number of rows: 5
      volume: 529 B
      Options: 
      
      schema: 
      r_regionkey	INT8
      r_name	TEXT
      r_comment	TEXT
      

      In this case, 'CSV' should be 'RCFILE'.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhkim Jinho Kim
                Reporter:
                hyunsik Hyunsik Choi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: