Questions tagged [ng-csv-import]

4 questions
3
votes
2 answers

Error while reading data, error message: CSV table references column position 174, but line starting at position:136868 contains only 94 columns

I'm trying to unload data from Snowflake to GCS and then GCS to bq table. Here is the Code for unloading data from snowflakes. ```copy into @unload_stage/FF_TBL_UNLOAD20200906.csv.gz from ( select * from SF_DB.SF_TBLS.FF_TBL_UNLOAD ) file_format =…
1
vote
0 answers

ng-csv omit headers for empty data

I have a JSON to be exported as CSV by using ng-csv. Data looks like this: { [a: 1, b: null, c: '', d: undefined, e: 5], [a: 2, b: 3, c: '', d: null, e: 5], [a: 5, b: 4, c: '', d: null, e: 5] } and directive is used like this:
Nikola B.
  • 556
  • 2
  • 8
  • 23
0
votes
1 answer

Generate single CSV file with multiple JSON and with their respective headers

I am trying to export csv with headers but the condition is that I have 3 json. All 3 json are downloded in same csv file. Now I want to differentiate these json by including headers in csv file. I have a JSON like : "data": { "subData": [ …
Pooja
  • 105
  • 4
  • 16
0
votes
2 answers

Disable button on csv import in angular js

I have used ng-csv-import to import a css file from desktop and i have submit button which uploads the csv. My requirements to disable the submit button until the user select a css file. Thanks in advance.
Warrior
  • 39,156
  • 44
  • 139
  • 214