Sha256: d1a6f506338a61e6b10e9f699b66c9b243dcf4970ea5a27b2555ed99d20c824b
Contents?: true
Size: 1.81 KB
Versions: 1
Compression:
Stored size: 1.81 KB
Contents
{ "csv_file": { "filename": "sampleTab.csv", "file_size": 276, "record_delimiter": "," }, "data_manipulations": { "replace_nulls": true, "replace_quotes": true }, "csv_headers": { "year_id": { "datatype": "int", "datatype_analysis": { "int": 4 }, "distinct_values": [ 1997, 1999, 1996 ] }, "make_id": { "datatype": "string", "datatype_analysis": { "string": 4 }, "distinct_values": [ "Ford", "Chevy", "Jeep" ] }, "model_id": { "datatype": "string", "datatype_analysis": { "string": 4 }, "distinct_values": "3+" }, "description_id": { "datatype": "string", "datatype_analysis": { "string": 2 }, "distinct_values": [ "ac, abs, moon", "MUST SELL!air, moon roof, loaded" ], "nullable": true }, "price_id": { "datatype": "float", "datatype_analysis": { "float": 4 }, "distinct_values": "3+" } }, "sql": { "pg": { "create_query": "create table sampletab.csv ( year_id int not null, make_id varchar(255) not null, model_id varchar(255) not null, description_id varchar(255), price_id float not null);", "import_query": "COPY sampletab.csv FROM '/home/avinash/Desktop/csv-import-analyzer/lib/sampleTab.csv' HEADER DELIMITER ',' CSV NULL AS 'NULL';" }, "mysql": { "create_query": "create table sampletab.csv ( year_id int not null, make_id varchar(255) not null, model_id varchar(255) not null, description_id varchar(255), price_id float not null);", "import_query": "COPY sampletab.csv FROM '/home/avinash/Desktop/csv-import-analyzer/lib/sampleTab.csv' HEADER DELIMITER ',' CSV NULL AS 'NULL';" } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
csv-import-analyzer-0.0.1 | lib/metadata_output.json |