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

Conversão de sequências em valores escalares no table schema serializado como yaml #1

Closed
fjuniorr opened this issue Jun 18, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@fjuniorr
Copy link
Contributor

fjuniorr commented Jun 18, 2021

A formatação da função style_tableschema está gerando um table schema que não é válido ao fazer a conversão de sequências de tamanho 1 em um valor escalar.

Ou seja, o yaml

missingValues:
  - ''

era convertido para

missingValues: ''

Ao executar frictionless validate recebo o schema-error com a mensagem

Schema is not valid: "'' is not of type 'array'" at "missingValues" in metadata and at "properties/missingValues/type" in profile

Ps. Achei a solução desse problema no issue vubiostat/r-yaml#69 (comment)

@fjuniorr fjuniorr added the bug Something isn't working label Jun 18, 2021
fjuniorr added a commit that referenced this issue Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant