Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Load data into Hive Table from blob storage

$
0
0

Hi All,

I am looking to load file data which is stored in blob storage into Hive table.

I am using below script to create hive table and load file data. but unfortunately, it is not working.

Table is getting created , but load part getting failed


CREATE TABLE IF NOT EXISTS DW_MASTER (
`cell_line`string,
`plc`string

  )
           COMMENT 'Master table for LINE Doser details'
           ROW FORMAT DELIMITED
           FIELDS TERMINATED BY ','
           LINES TERMINATED BY '\n'
           STORED AS TEXTFILE
       LOCATION 'wasb:/blob11.blob.core.windows.net/data/raw_data';
   
   LOAD DATA INPATH 'wasb://blob11.blob.core.windows.net/data/raw_data/INFORMATION_1.csv' 
   INTO TABLE DW_MASTER_LINE_INFORMATION; 


Thankx & regards, Vipin jha MCP


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>