Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quoted_fields_guessing param not honored #1966

Closed
rafatower opened this issue Jan 28, 2015 · 1 comment
Closed

quoted_fields_guessing param not honored #1966

rafatower opened this issue Jan 28, 2015 · 1 comment

Comments

@rafatower
Copy link
Contributor

quoted_fields_guessing param is set to true by default but it is being set to false when passed to ogr2ogr2:

http://docs.cartodb.com/cartodb-platform/import-api.html
http://www.gdal.org/drv_csv.html

From a log:

data: {
  //...
  type_guessing: true,
  quoted_fields_guessing: true,
  content_guessing: true,
  //...
}

and then:

ogr2ogr call: OSM_USE_CUSTOM_INDEXING=NO PG_USE_COPY=YES PGCLIENTENCODING=ISO-8859-2 /usr/bin/ogr2ogr2 -f PostgreSQL -oo AUTODETECT_TYPE=YES -oo QUOTED_FIELDS_AS_STRING=NO PG:"..."

note the QUOTED_FIELDS_AS_STRING=NO

@rafatower rafatower added this to the Castrourdiales milestone Jan 28, 2015
rafatower pushed a commit that referenced this issue Jan 28, 2015
This will make ogr2ogr2 honor `quoted_fields_guessing` which was wrongly
mapped to `QUOTED_FIELDS_AS_STRING` when passed.
rafatower pushed a commit that referenced this issue Jan 28, 2015
@rafatower
Copy link
Contributor Author

and deployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant