I am trying to generate custom data files , but I could not.
My code : ./vmart_gen store_sales_fact1.tbl --files 3
I would like to divide my file into 3 files. How?
How to Generate Custom data files
Moderator: NorbertKrupa
Re: How to Generate Custom data files
Hi!
From Docs:
Example of cmd:
From Docs:
You do not specifies a table, generator do it automatically for FACT table.Step 8: (Optional) Generate Custom Data Files
...
Splits the fact table data into the specified number of files. By default, the data generator produces a single, unnumbered fact table data file. If you specify a value of two (2) or more, the data generator numbers the files by appending an underscore character (_) and three digits to the file name, starting at _001. For example:
./vmart_gen --files 3
produces:
VMart_Fact_001.tbl
VMart_Fact_002.tbl
VMart_Fact_003.tbl
Default: 1
Example of cmd:
Code: Select all
./vmart_gen \
--files 3
--datadirectory /tmp/VMart
--seed 9999
--time_file /path/to/time_file.txt \
--inventory_fact 100000 \
--customer_dimension 500 \
--date_dimension 500 \
--employee_dimension 50 \
--product_dimension 500 \
--promotion_dimension 500 \
--shipping_dimension 500 \
--vendor_dimension 500 \
--warehouse_dimension 500 \
--promotion_dimension 100
-
- Intermediate
- Posts: 149
- Joined: Mon Apr 30, 2012 10:04 pm
- Location: New York
- Contact:
Re: How to Generate Custom data files
What error if any are you getting when you do this?
Re: How to Generate Custom data files
--$./vmart_gen \
> --Store_Dimension_tbl files 3
Invalid command line options: files 3
Here , I am trying to split my fact tables into 3 files.
> --Store_Dimension_tbl files 3
Invalid command line options: files 3
Here , I am trying to split my fact tables into 3 files.