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

SQL condition's default_value confuses column verifier and cannot process the default value. #294

Open
varunmittal91 opened this issue Jan 17, 2024 · 0 comments

Comments

@varunmittal91
Copy link
Collaborator

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. pytest tests/provider_config_tests/azure/
    def validate_lazy_frame_columns(self, lf: pl.LazyFrame):
        # get all columns that have edge from source
        source_columns = [
            column for column in self.__network_graph__.successors(SOURCE_COLUMN_NAME)
        ]
    
        columns_missing = sorted(set(source_columns) - set(lf.columns))
        if columns_missing:
           raise ValueError(
                f"Column(s) '{', '.join(columns_missing)}' not found in data"
            )
           ValueError: Column(s) 'Other' not found in data
  • Converter version: 0.7
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