Skip to content

Commit

Permalink
fix lower case create statement (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
initzhang authored May 13, 2024
1 parent f7187bf commit 9c35199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbgpt_hub/data_process/sql_data_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def decode_json_file(
with open(schema_file_path, "r") as file:
schema_content = file.read()
create_statements = re.findall(
r"CREATE\s.*?;", schema_content, re.DOTALL
r"CREATE\s.*?;", schema_content, re.DOTALL|re.IGNORECASE
)
input = {
"db_id": data[db_id_name],
Expand Down

1 comment on commit 9c35199

@wangzaistone
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@initzhang This is a very good data processing detail , thank you very much for your supplement.

Please sign in to comment.