Skip to content

Commit

Permalink
address comments left by @scaliseraoul on #1532 (feature(View): enabl…
Browse files Browse the repository at this point in the history
…ing view in SemanticLayerSchema);
  • Loading branch information
ellipsis-dev[bot] authored Jan 20, 2025
1 parent 57b8900 commit e6ce56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandasai/data_loader/semantic_layer_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class SemanticLayerSchema(BaseModel):

@model_validator(mode="after")
def check_columns_relations(self):
column_re_check = r"^[a-zA-Z_]+\.[a-zA-Z_]+$"
column_re_check = r"^[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+$"
is_view_column_name = partial(re.match, column_re_check)

# unpack columns info
Expand Down

0 comments on commit e6ce56d

Please sign in to comment.