Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1190

IMPORT TABLE silently fails if Sentry is enabled

    XMLWordPrintableJSON

    Details

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

      Description

      When sentry is enabled, import table fails to copy table contents from staging area into warehouse.

      To reproduce:

      drop table if exists testtable1;
      drop table if exists imported_testtable1;
      set hive.exec.dynamic.partition.mode=nonstrict;
      
      create table testtable1(
      field1 string,
      field2 string,
      field3 string,
      field4 double,
      field5 timestamp,
      field6 int)
      partitioned by(part1 string, part2 int)
      clustered by (field1) into 2 buckets
      stored as parquet;
      
      insert into table testtable1 partition(part1, part2) values
      ("test1", "test1", "2016-01-01", 1.11, "2016-01-01 00:00:00", 1, "part1", 1),
      ("test2", "test2", "2016-02-02", 2.22, "2016-02-02 01:00:00", 2, "part2", 2),
      ("test3", "test3", "2016-03-03", 3.33, "2016-03-03 03:00:00", 3, "part3", 3),
      ("test4", "test4", "2016-04-04", 4.44, "2016-04-04 04:00:00", 4, "part4", 4),
      ("test5", "test5", "2016-05-05", 5.55, "2016-05-05 05:00:00", 5, "part5", 5);
      
      select * from testtable1;
      export table testtable1 to '/user/test/testtable1export';
      import table imported_testtable1 from '/user/test/testtable1export';
      select * from imported_testtable1;
      

        Attachments

        1. SENTRY-1190.07.patch
          3 kB
          Colin Ma
        2. SENTRY-1190.06.patch
          3 kB
          Colin Ma
        3. SENTRY-1190.05.patch
          1 kB
          Reuben Kuhnert
        4. SENTRY-1190.04.patch
          1 kB
          Reuben Kuhnert
        5. SENTRY-1190.02.patch
          1 kB
          Reuben Kuhnert
        6. SENTRY-1190.01.patch
          1 kB
          Reuben Kuhnert

          Activity

            People

            • Assignee:
              sircodesalot Reuben Kuhnert
              Reporter:
              sircodesalot Reuben Kuhnert
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: