Learning Tabulify - Step 6 - How to transfer Data Resources
Data Transfer
In Tabulify, when you want to manipulate data, it's called a transfer.
For data manipulation, the transfer command is the only command you need.
The transfer command is the most powerfull command and we will introduce it first with a copy.
Sqlite HowTo Connection
Tabulify comes pre-installed with connections used in the HowTo. We call this connections, the Howto's connections.
In this learning guide, we will use as target connection, the local sqlite how-to connection
Copy
For the purpose of this learning guide, we will copy the sales data from tpcds to the sqlite connection with the copy command that is an alias of the transfer command.
where:
- tabli data copy points to the copy command
- *sales@tpcds is a data selector that select all table that ends with sales in the tpcds connection (We have covered this subject in the how to select data resource page)
- --with-dependencies select the dependencies of the selected data resources
- @sqlite defines the sqlite connection as the target connection
At the end of the process, you get a list of all tables where data were loaded and the number of row that were inserted.
Copy Verification
To check the copy, we will list the tables in the sqlite connection with the list command and the count attribute to see the number of rows by table.
Next
Now, that we got data, we can discover how to execute a Sql Query