“Not a file” exception on select after successful insert

前端 未结 1 633
南方客
南方客 2021-01-28 16:41

I have created a table:

DROP TABLE IF EXISTS sampleout;

CREATE EXTERNAL TABLE sampleout(
    id bigint,
    LNG FLOAT,
    LAT FLOAT,
    GMTDateTime TIMESTAMP,         


        
相关标签:
1条回答
  • 2021-01-28 17:24

    Basically, do not put the TEXTFILE LOCATION at the root. Even though it is blob storage (no true folders), the structure needed by HDFS or something else wants you to use at least one sub folder in the location.

    Moving from

    wasb://sampleout@xxxxxx.blob.core.windows.net/

    to

    wasb://sampleout@xxxxxx.blob.core.windows.net/somefolder/

    fixed the issue. Credit: https://stackoverflow.com/users/4951010/andrew-moll

    0 讨论(0)
提交回复
热议问题