如何生成数据块存档文件并上传

时间:2019-10-25 08:59:01

标签: databricks spark-notebook

我尝试在本地创建自定义DBC文件,然后使用其Web界面将其导入到databricks工作区,但是失败:

echo '1+1' >> bar.py
zip -r example.dbc bar.py

Import failed with error: Could not deserialize: Unexpected character ('+' (code 43)): Expected space separating root-level values? at [Source: org.apache.commons.compress.archivers.jar.JarArchiveInputStream@4b9e7185; line: 1, column: 3]

jar cMf example-jar.dbc bar.py
Import failed with error: Could not deserialize: Unexpected character ('+' (code 43)): Expected space sepa

要使其正常工作需要进行哪些更改?

0 个答案:

没有答案