Archery icon indicating copy to clipboard operation
Archery copied to clipboard

修复 oracle 包含创建表和创建索引提示表不存在 (#1697)

Open dengjili229 opened this issue 3 years ago • 2 comments

  • 保存SQL中的新建对象object_name_list,含有schema,且大写

  • 提交sql需要转换

  1. 表名前加前缀 (schema)
  2. 字符串转大写

dengjili229 avatar Sep 15 '22 09:09 dengjili229

Codecov Report

Base: 75.94% // Head: 76.17% // Increases project coverage by +0.22% :tada:

Coverage data is based on head (c7f0879) compared to base (1971e9d). Patch coverage: 0.00% of modified lines in pull request are covered.

:exclamation: Current head c7f0879 differs from pull request most recent head 6ec2c68. Consider uploading reports for the commit 6ec2c68 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1837      +/-   ##
==========================================
+ Coverage   75.94%   76.17%   +0.22%     
==========================================
  Files          91       91              
  Lines       14190    14326     +136     
==========================================
+ Hits        10777    10913     +136     
  Misses       3413     3413              
Impacted Files Coverage Δ
sql/engines/oracle.py 45.69% <0.00%> (-0.53%) :arrow_down:
common/utils/permission.py 37.03% <0.00%> (-11.24%) :arrow_down:
sql_api/api_workflow.py 65.51% <0.00%> (-3.75%) :arrow_down:
sql/plugins/plugin.py 90.90% <0.00%> (-1.78%) :arrow_down:
sql_api/serializers.py 79.10% <0.00%> (-0.67%) :arrow_down:
sql/slowlog.py 21.56% <0.00%> (-0.55%) :arrow_down:
sql/utils/sql_utils.py 63.08% <0.00%> (-0.43%) :arrow_down:
sql/engines/mongo.py 49.86% <0.00%> (-0.14%) :arrow_down:
sql/engines/models.py 92.92% <0.00%> (-0.08%) :arrow_down:
common/tests.py 100.00% <0.00%> (ø)
... and 18 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Sep 15 '22 09:09 codecov[bot]

看一下black,lint失败了,用black 自动修复一下

LeoQuote avatar Sep 15 '22 16:09 LeoQuote