Esempio n. 1
0
 def test(self):
     if self.use_kerberos:
         # Hive bug: VARCHAR with Kerberos causes Hive and/or the Hive ODBC driver to crash for unknown reasons
         utils.HiveTestCase.num_rows = 1
         utils.HiveTestCase.hive_col_types = [
             'decimal(36,0)', 'varchar(1)', 'varchar(1)', 'varchar(1)',
             'varchar(1)', 'varchar(1)'
         ]
         pass
     else:
         utils.test_import(self)
         utils.validate_import_odbc(self)
Esempio n. 2
0
 def test(self):
     utils.test_import(self)
     utils.validate_import_odbc(self)
Esempio n. 3
0
 def test(self):
     utils.test_import(self)
     # Hive has a bug, which sometimes gives the wrong data for a column
     # Verification using ODBC (not CSV) will still succeed because both wrong values are the same
     utils.validate_import_odbc(self)