Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Skip to set string type #3

Closed
koooge opened this issue Jun 22, 2017 · 1 comment
Closed

Skip to set string type #3

koooge opened this issue Jun 22, 2017 · 1 comment
Labels

Comments

@koooge
Copy link
Owner

koooge commented Jun 22, 2017

columns must be set type: string presently.
Although I want to allow columns can skip type attribute when its type is string, it causes a ConfigException Attribute type is required but not set now.

config.yml

type: csv_guessable
schema_file: path/to/file.csv
columns:
  - {value_name: 'id', name: 'number', type: string}
  - {value_name: 'title', name: 'description'}
  - {value_name: 'status', name: 'ok?'}
@koooge koooge changed the title Attribute type is required but not set Skip to set string type Jun 22, 2017
@koooge
Copy link
Owner Author

koooge commented Oct 15, 2017

'type' column is needed by embulk-core.
I reconsidered this. I think this is a bit over the top.

org.embulk.exec.PartialExecutionException: org.embulk.config.ConfigException: com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class org.embulk.spi.ColumnConfig] value failed: Attribute type is required but not set

@koooge koooge closed this as completed Oct 15, 2017
koooge added a commit that referenced this issue Oct 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant