AM
df.write
.format("orc")
.mode(SaveMode.Append)
.save(tablePath)
выдавало вот такую ошибку
The format of the existing table ******************** `HiveFileFormat`. It doesn't match the specified format `OrcFileFormat`.;
Size: a a a
AM
df.write
.format("orc")
.mode(SaveMode.Append)
.save(tablePath)
The format of the existing table ******************** `HiveFileFormat`. It doesn't match the specified format `OrcFileFormat`.;
AM
ND
RY
cassandra.DriverException: Failed decoding result column "ready_time" of type timestamp: date value out of range
. Как я понимаю в одной из строк таблицы в поле "ready_time
" не корректное значение и в связи с этим не может произвести считывание далее. Пробовал try-except воткнуть в цикл: rows = session.execute(query, timeout=50)
for i, user_row in enumerate(rows):
try:
print(user_row)
print('line = {}.'.format(i))
except:
print('Error in ', i)
RY
SS
С
С
AK
СХ
AT
СХ
СХ
С
С
DN
AA
ME
С
ПБ