Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8620

Re: Loading from CSV files is successful only when file resides in "work" folder in latest HANA release?

$
0
0

Hi Shu

 

This is what you need to do. As shown in the attached screen shot do one of the following

1. set enable_csv_import_path_filter = false

OR 2. add the path /hana-2/exchange/AP1 to csv_import_path_filter

 

From SAP Notes

As of SAP HANA SPS 08 database revision 85, you can manage a restriction for the local and/or shared file accesses using two INI configuration parameters, named CSV import path filter.

1. Enable CSV import path filter via configuration tab of HANA Administration Console

  • File: indexserver.ini
  • Section: import_export
  • Key: enable_csv_import_path_filter
  • Value: true

(Note: this configuration is set to 'true' by default starting with HANA SPS 09)This configuration change will immediately affect IMPORT FROM command by reconfiguration so that IMPORT FROM is only accessible to CSV files stored under the specified directory paths. The following three paths are accepted by default without any additional path filter setting.

  • $DIR_INSTANCE/work
  • $DIR_INSTANCE/backup
  • $SAP_RETRIEVAL_PATH/trace

2. (Optional) If you would need to accept more file paths, you can specify them at the following INI configuration parameter. Multiple paths can be specified with a delimiter ';' (semicolon).

  • File: indexserver.ini
  • Section: import_export
  • Key: csv_import_path_filter
  • Value: <absolute directory path>[;<absolute directory path>]*

 

you will see a similar configuration for the nameserver.ini.

The nameserver only needs to be configured if you're using a

multi-tenancy database container.  Otherwise it is not required to be

modified.

Screen Shot 2015-01-28 at 2.15.05 PM (2).png


Viewing all articles
Browse latest Browse all 8620

Trending Articles



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