evshvarov / csvgen

module to generate and import csv data using InterSystems ObjectScript
MIT License
6 stars 5 forks source link

When Use a csv with only 0/1 in column values I get error #4

Closed renatobanzai closed 4 years ago

renatobanzai commented 4 years ago

My csv example:

Col1,Col2 0,1 1,0

d ##class(community.csvgen).Generate("/irisdev/app/test_banzai7.csv",",","test.matriz2") do ##class(community.datatypes).Guess($Piece(line(r),dlm,i),.types)

zGetRowTypes+20^community.csvgen.1 *line(1)

I tried to use the prowtype but I actually dont know how

evshvarov commented 4 years ago

@renatobanzai - could you please share the sample file?

evshvarov commented 4 years ago

@renatobanzai - nevermind, see it ) sorry )

renatobanzai commented 4 years ago

All working! Thanks!