Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Hive and SAS proc sql

$
0
0

Hi,
I have problem with using Hadoop and SAS proc sql (and or ODBC). I want create table in Hive and load data into it from SAS. In SAS we have 3 ways to do this:

1.
libname sasflt 'SAS-library';
libname hdp_air hadoop user=louis pwd=louispwd server='hdpcluster' schema=statsdiv;

proc sql;
create table hdp_air.flights98
as select * from sasflt.flt98;
quit;

2.

data hdp_air.allflights;
set sasflt.allflights;
run;

3.

Append to existign table:
proc append base=hdp_air.allflights
data=sasflt.flt98;
run;

When I’m running example 1 or 2 table is created id hadoop, but later I always get error:

“ERROR: CLI prepare error: [Hortonworks][HiveODBC] (55) Insert operation is not support for table:
…”

Do You know the way to solve this problem? Some tips?
I’m using HDP 2.1 with hive 0.13


Viewing all articles
Browse latest Browse all 3435


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