BookmarkSubscribeRSS Feed
joker
Fluorite | Level 6

Hello,

 

We are accessing Impala tables from SAS using the LIBNAME engine IMPALA.

 

I create table SAS table using the following code:

PROC SQL;

 CREATE TABLE SASTABLE AS

 SELECT * FROM IMPALA.TABLE 

  WHERE COL=123 ;

QUIT ;

The table SASTABLE contains one row. Ok

 

then I try access the created table using the following code:

PROC SQL ;

CREATE TABLE SASTABLE2 as SELECT * FROM SASTABLE

WHERE COL=123 ;

QUIT ;

The table SASTABLE2 does not contain any record.

 

I checked the content of the variable COL using an Hexadecimal and the value contains trailing digits "FF".

Have you ever faced this problem?

 

Thanks for your input

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

What are the delimiters used in the Impala file?

 

>I checked the content of the variable COL using an Hexadecimal and the value contains trailing digits "FF".

How did you check this?

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1286 views
  • 0 likes
  • 2 in conversation