DrillのCTAS関数を使用して、出力のjsonファイルを作成しています。次のエラーが表示されます。Apache Drillシステムエラー:UnsupportedOperationException:サポートされていない形式
org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: UnsupportedOperationException: Unsupported format 'null' in workspace 'hivetest1.hive' [Error Id: 3e74fde2-b2e5-4799-a4f9-0236d003ab31 on centos6.qubida.io:31010]
jsonをdefaultInputFormatでも使用している場合、同じエラーが発生します。 サポートされていない形式の 'json'がワークスペースにあります。私はdefaultInputFormat自体を削除しようとしました。しかし、ワークスペースを作成することはできません。
私のストレージは、私も異なるdefaultInputFormatで試してみました
{
"type": "file",
"enabled": true,
"connection": "file:///",
"config": null,
"workspaces": {
"hive": {
"location": "/tmp/",
"writable": true,
"defaultInputFormat": null
}
},
"formats": {
"json": {
"type": "json",
"extensions": [
"json"
]
}
}
です。 store.formatをJSONにも設定しました。 store.mongo.all_text_modeもtrue.store.json.all_text_modeに変更しました。しかし、まだ、私は同じエラーが発生しています。変更する必要があるもの私はドリル1.6を使用しています。マイCTASクエリは、私だけでは、検索クエリの出力を表示することができる午前
create table hivetest1.hive.`output_json` as select distinct buildingid, country, temprange from hive.`sensorfiles`.`hvac_building` where extremetemp = '1'
です。何か案は?
私が選択しているテーブルがjsonである必要があるという要件はありますか? – Krishna
jsonテーブルでも同じエラーが発生します。ドリルの設定に関する問題はありますか? – Krishna
出力をjsonファイルとして設定していても、私は0_0_0.parquetファイルとして保存することができます。これは、フォーマットからjsonフォーマットを削除するときに発生します。助言がありますか? – Krishna