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

Small bug in a documentation #116

Open
1 task
AcckiyGerman opened this issue Jan 23, 2018 · 0 comments
Open
1 task

Small bug in a documentation #116

AcckiyGerman opened this issue Jan 23, 2018 · 0 comments

Comments

@AcckiyGerman
Copy link
Contributor

Tasks

  • fix docs

Analysis

There is a example about unpivot feature:

unpivot:
    -
      name: ([0-9]{4}) (\\w+)  # regex for original column
      keys:
        year: \\1  # First member of group from above
        direction: \\2  # Second member of group from above

I'm not sure why is here double backslash \\1 in the readme, but when I use dpp in a pipeline processor with this example I got ERROR :Failed to cast row: Field "year" can't cast value "\1" for type "year" with format "default". With \1 everything is ok.

Please, somebody ping me to ensure that there is no special reasons to use double backslash \\ and I'll fix the doc.

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

No branches or pull requests

1 participant