Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Error importing Data into table 'with schema flexibility' option

$
0
0

Hi I am creating a table

 

CREATE column TABLE FLEXIBI ( X INT ) WITH SCHEMA FLEXIBILITY;


and trying to import data through a csv file into the table with the following query


"IMPORT FROM CSV FILE '/tmp/mri/TSLE4.csv' INTO "FLEXIBI" WITH RECORD DELIMITED BY '\n' FIELD DELIMITED BY ';' COLUMN LIST ("A","B") with SCHEMA FLEXIBILITY"


but I get the the following syntax error


Could not execute 'IMPORT FROM CSV FILE '/tmp/mri/TSLE4.csv' INTO "FLEXIBI" WITH RECORD DELIMITED BY '\n' FIELD ...' in 4 ms 519 µs . SAP DBTech JDBC: [257] (at 151): sql syntax error: incorrect syntax near "SCHEMA": line 5 col 9 (at pos 151)



I have tried a lot of things but this query just does not seem to work. Any help would be appreciated!



Viewing all articles
Browse latest Browse all 5653

Trending Articles



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