Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
pedrobergo
Employee
Employee

Ingest multiple files

Hi,

I have a scenario with thousands of CSV files to ingest. It compounds 5 differents entities (vheicules, expenses, transportations, etc.). If I use Hive to ingest them into HDFS I can just put them into 5 diferent directories and do a command like bellow. Hive automatically recognize all the files and I can make any selections to them using HiveQL.

Spoiler
CREATE EXTERNAL TABLE entity1 (col1a string, col1b string)
LOCATION '/path/to/dir1';

CREATE EXTERNAL TABLE entity2 (col2a string, col2b string)
LOCATION '/path/to/dir2';

It´s possibile to QDC do that, we need to create a Job and append it to the same entity, or have another way to simulate this Hive feature?

Tks

Pedro

Labels (1)
2 Solutions

Accepted Solutions
Clever_Anjos
Support
Support

Hello @pedrobergo , try tweaking your src.file.glob to vheicules*.csv for example

 

Please let me know any update

View solution in original post

pedrobergo
Employee
Employee
Author

Hi master Clever !

It´s really works.

I put /vheicules/*frota.frota.csv in src.file.glob and load all the files.

Tks a lot !!

Pedro

View solution in original post

2 Replies
Clever_Anjos
Support
Support

Hello @pedrobergo , try tweaking your src.file.glob to vheicules*.csv for example

 

Please let me know any update

pedrobergo
Employee
Employee
Author

Hi master Clever !

It´s really works.

I put /vheicules/*frota.frota.csv in src.file.glob and load all the files.

Tks a lot !!

Pedro