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

Use of JSON fields in template fails dashboard import #232

Closed
thomas-gerber opened this issue Oct 19, 2022 · 0 comments
Closed

Use of JSON fields in template fails dashboard import #232

thomas-gerber opened this issue Oct 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@thomas-gerber
Copy link
Contributor

Describe the bug
The use of field derived from a JSON-containing column makes import fail on field-level table sync check.

To Reproduce
Steps to reproduce the behavior:

  1. Start Faros
  2. Import some tasks from Jira/GH/...
  3. Trigger a database schema sync and field value scan
  4. Check that tms_Task now has 2 versions of status category for tms_Task: the generated field statusCategory and the newly metabase-derived one status -> category
  5. Create a dashboard with a non-SQL question using that status->category field as aggregation
  6. Export the dashboard.
  7. Try to re-import it.
  8. Import fails on syncTable because the check can not find that field in the metadata.

Expected behavior
Dashboard import from a template using such field is successful.

Screenshots and logs
If applicable, add screenshots and logs to help explain your problem.
Example of bad template that had to be fixed here

Notice the difference between the 2 field types:
json_field
generated_field

Encountered during #231 .

@thomas-gerber thomas-gerber added bug Something isn't working P4 Low Severity and removed P4 Low Severity labels Oct 19, 2022
@thomas-gerber thomas-gerber closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2024
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