Skip to content

mozanalysis can't handle submission_date_columns that are SQL snippets #158

@scholtzan

Description

@scholtzan

The problem is occurring here:

AND ds.{submission_date} BETWEEN

As long as a data sources submission_date_column is only set to a field name everything is working fine, but as soon as SQL is used the generated query is invalid due to the alias. ds.{submission_date} cannot be transformed to ds.DATE(submission_timestamp), for example

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions