def test204_csv_to_hive(self): try: legoo.csv_to_hive(hive_node = self.hive_node, hive_db = self.hive_db, \ hive_table = self.hive_table, hive_create_table='Y', \ csv_file = self.csv_file, csv_header = 'Y', \ mapred_job_priority='VERY_HIGH', csv_delimiter=',') except: self.fail("csv_to_hive failed")
def test218_csv_to_hive(self): try: legoo.csv_to_hive(hive_node = self.hive_node, hive_db = self.hive_db, \ hive_table = self.hive_table, hive_create_table='N', hive_overwrite = 'N', \ csv_file = self.csv_file_no_header, csv_header = 'N', \ mapred_job_priority='VERY_HIGH', csv_delimiter=',') except: self.fail("csv_to_hive no header append failed")
def test204_csv_to_hive(self): try: legoo.csv_to_hive( hive_node=self.hive_node, hive_db=self.hive_db, hive_table=self.hive_table, hive_create_table="Y", csv_file=self.csv_file, csv_header="Y", mapred_job_priority="VERY_HIGH", csv_delimiter=",", ) except: self.fail("csv_to_hive failed")
def test218_csv_to_hive(self): try: legoo.csv_to_hive( hive_node=self.hive_node, hive_db=self.hive_db, hive_table=self.hive_table, hive_create_table="N", hive_overwrite="N", csv_file=self.csv_file_no_header, csv_header="N", mapred_job_priority="VERY_HIGH", csv_delimiter=",", ) except: self.fail("csv_to_hive no header append failed")