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

Export/import a table which has an index and privileges

$
0
0

Hi all,

I'm copying some tables from one instance to another one using EXPORT on one side and IMPORT WITH REPLACE DATA ONLY on the other side. I'm using the DATA ONLY clause because without it all permissions on the target table are deleted. Now this works fine, until I've included a table with an index, now the import says

 

* 2048: column store error: table import failed:  [30139] Could not import data only due to metadata mismatch;Data only import is not possible: create statement differs,object=I2S:CATSen SQLSTATE: HY000

 

When I remove the DATA ONLY clause or when I delete the index on both instances the import works, but I'm losing the index or the privileges. NB the tables are identical and so is the index, the only difference is that the source Hana is SPS7 and the target Hana is SPS9. Is there a way to make this work? I want to copy only data and keep both the index and the granted privileges.

 

Cheers,

 

-- Micha


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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