loading Hive tables in SAS

Reply
New Contributor
Posts: 3

loading Hive tables in SAS

Hi All,

 

Has anyone tried reading / importing hive tables in SAS ? The idea is to keep the schema of the tables intact while using them in SAS.

Can anyone help me on this ?

 

Regards,

Ashib

Super User
Posts: 2,516

Re: loading Hive tables in SAS

Do you have sas/access to Hadoop?

New Contributor
Posts: 3

Re: loading Hive tables in SAS

Hi Chris,

 

Thanks for your reply, is it possible to achieve this without SAS/Access ? If we try to read the hive tables by making a connection between SAS and hadoop using proc SQL, will the schema of tables remain intact ?

 

Meanwhile I will check about the SAS / Access option.

 

Regards,

Ashib

Super User
Posts: 2,516

Re: loading Hive tables in SAS

1. You could use ODBC.

 

2. I am unsure I understand your concern.

- You won't change anything in Hadoop by just by reading data

- SAS will see the structure that Hadoop presents.

 

New Contributor
Posts: 3

Re: loading Hive tables in SAS

I will try to make it more clear, suppose there is a hive table with datatypes such as bigint etc. and if I make a connection between SAS and hadoop and read this table, will I be able to read the table correctly ?

 

Regards,

Ashib

Super User
Posts: 2,516

Re: loading Hive tables in SAS

It will be a number to SAS and be read accurately if it is smaller than 2^53 (on a PC or Unix machine).

Ask a Question
Discussion stats
  • 5 replies
  • 85 views
  • 0 likes
  • 2 in conversation