Table gets created by the following HQL, but returns zero rows when subsequently queried.
CREATE EXTERNAL TABLE default.salesorderdetailx(SalesOrderID int, ProductID int, OrderQty int, LineTotal decimal) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' COLLECTION ITEMS TERMINATED BY '\002' MAP KEYS TERMINATED BY '\003' STORED AS TEXTFILE LOCATION 'wasb://[email protected]/mycn-1/hive/warehouse/salesorderdetailx'
URL to my blob is as follows:
https://my.blob.core.windows.net/mycn-1/hive/warehouse/salesorderdetailx/salesorderdetail.txt
My data looks like this:
43659,776,1,2024.994000 43659,777,3,6074.982000 43659,778,1,2024.994000 43659,771,1,2039.994000