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

CTAS always stores tables with CSV storage type into catalog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0, 0.9.0
    • Planner/Optimizer
    • 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

        1. TAJO-705.patch
          10 kB
          Jinho Kim

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: