Hi,

I am trying to implement the record level security, so I am  trying to 
import a csv file using JSON & ETL process into a database where the V 
class has ORestricted as superclass and the import fails with : "error 
saving record in cluster #13". the same import has no issues in  regular 
database. Am I missing something ? or is not possible to import into this 
type of database ?

here is the JSON file
{
  "source": { "file": { "path": "/home/jenica/data/kcne1py.csv" } },
  "extractor": { "row": {}},
  "transformers": [
    { "csv": {} },
    { "vertex": { "class": "variant_L1" } },
    
  ],
  "loader": {
    "orientdb": {
       "dbURL": 
"plocal:/home/jenica/programs/orientdb-community-2.1.0/databases/testing10a",
       "dbType": "graph",
       "indexes": [
         {"class":"variant_L1", "fields":["coordinate:string"], 
"type":"UNIQUE" },
         {"class":"variant_L1", "fields":["reference_nt:string"], 
"type":"NOTUNIQUE" },
         {"class":"variant_L1", "fields":["position:integer"], 
"type":"NOTUNIQUE" },
         {"class":"variant_L1", "fields":["chromosome:string"], 
"type":"NOTUNIQUE" },
         {"class":"variant_L1", "fields":["assembly:string"], 
"type":"NOTUNIQUE" },
       ]
    }
  }
} 

thanks
Jenica 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to