Hey all - I am having trouble executing ingestion ...
# ingestion
c
Hey all - I am having trouble executing ingestion - can someone share examples for csv and file ingestion
g
Hi @creamy-ram-28134 Which source are you using ? S3 source supports local csv files
c
Source is csv and file - deployed on kubernetes
g
@creamy-ram-28134 Did you tried s3 source ?
c
no
f
@gentle-hamburger-31302, we do not have s3, and can’t find an example of just local file ingestion.
a
@dazzling-judge-80093 might help you
@flaky-eve-99734 the source should support local files, you just need to specify the path: like
Copy code
path_specs:
      - include: "/my-folder/my-folder2/{table}/{partition_key[0]}/{partition_key[1]}/{partition_key[2]}/*.json"
r
It'll be the same as normal s3 usage, but the paths will just be local filesystem paths instead of
s3://
paths
c
Hey - this is what worked for me - source: type: s3 config: path_specs: - include: '/home/gopikab/gmps/gmps/VIMCHG/*.csv' But I had to mount a volume with the data to the actions pod