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

HCatalogStore created partitions automatically.

    Details

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

      Description

      HCatalogStore created partitions automatically using addTable API as follows:

      tajo> create table table1 (id int, name text, score float, type text) using csv with ('csvfile.delimiter'='|');
      OK
      tajo> \d table1;
      
      table name: table1
      table path: hdfs://localhost:9010/user/hive/warehouse/table1
      store type: CSV
      number of rows: 0
      volume: 0 B
      Options: 
      	'csvfile.delimiter'='|'
      
      schema: 
      id	INT4
      name	TEXT
      score	FLOAT4
      type	TEXT
      
      Partitions: 
      type:COLUMN
      columns:
      specifier:
      
      1. TAJO-426.patch
        4 kB
        Jaehwa Jung

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-trunk-postcommit #626 (See https://builds.apache.org/job/Tajo-trunk-postcommit/626/)
        TAJO-426: HCatalogStore created partitions automatically. (jaehwa) (jhjung: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=4dbecf90161465b2818093fe8544b35f86b888aa)

        • tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/src/main/java/org/apache/tajo/catalog/store/HCatalogStore.java
        • tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/src/test/java/org/apache/tajo/catalog/store/TestHCatalogStore.java
        • CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-trunk-postcommit #626 (See https://builds.apache.org/job/Tajo-trunk-postcommit/626/ ) TAJO-426 : HCatalogStore created partitions automatically. (jaehwa) (jhjung: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=4dbecf90161465b2818093fe8544b35f86b888aa ) tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/src/main/java/org/apache/tajo/catalog/store/HCatalogStore.java tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/src/test/java/org/apache/tajo/catalog/store/TestHCatalogStore.java CHANGES.txt
        Hide
        blrunner Jaehwa Jung added a comment -

        I committed it to master. Thanks for the review.

        Show
        blrunner Jaehwa Jung added a comment - I committed it to master. Thanks for the review.
        Hide
        jihoonson Jihoon Son added a comment -

        +1
        This patch looks good to me.

        Show
        jihoonson Jihoon Son added a comment - +1 This patch looks good to me.
        Hide
        blrunner Jaehwa Jung added a comment -

        I modified HCatalogStore and TestHCatalogStore.
        If you want to verify it, you should set hcatalog profile as follows:

        mvn clean install -Phcatalog-0.12.0
        mvn clean install -Phcatalog-0.11.0
        

        Please, review it.

        Show
        blrunner Jaehwa Jung added a comment - I modified HCatalogStore and TestHCatalogStore. If you want to verify it, you should set hcatalog profile as follows: mvn clean install -Phcatalog-0.12.0 mvn clean install -Phcatalog-0.11.0 Please, review it.

          People

          • Assignee:
            blrunner Jaehwa Jung
            Reporter:
            blrunner Jaehwa Jung
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development