IndexDefinition class is derived from TSqlStatement however it is not a statement
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách truy vết tính kế thừa của IndexDefinition, TSqlStatement, IndexStatement và DropIndexStatement trong mã nguồn ScriptDOM. Xác định cách các định nghĩa chỉ mục inline được biểu diễn bên trong CREATE TABLE và DECLARE TABLE, sau đó đánh giá thay đổi phân cấp cần thiết để chỉ các câu lệnh độc lập kế thừa từ TSqlStatement; được xem là hoàn tất khi các consumer có thể phân biệt các câu lệnh mà không cần xử lý đặc biệt IndexDefinition.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Inline indices are represented in ScriptDom as instances of IndexDefinition class. These index definitions in T-SQL can only be a part of CREATE TABLE/DECLARE TABLE statement and cannot be used as separate statements.
There is also IndexStatement class which represents CREATE/ALTER/DROP INDEX statements (well, drop has a separate implementation) which are true standalone statements.
While developing code analysis, code formatting, coverage computation tools one cannot be sure that descendant of TSqlStatement class is actually a statement and has to manually exclude/ignore instances of "false-statement" classes such as IndexDefinition.
It'd be great if such expressions which cannot exist separately from a surrounding statement were not derived from TSqlStatement class.
- Ngôn ngữ chính
- GAP
- Star
- 277
- Fork
- 43
- Merge trung bình
- 6 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/SqlScriptDOM
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/SqlScriptDOM#228 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/SqlScriptDOM#183 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
microsoft/SqlScriptDOM#226 · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/SqlScriptDOM#225 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
microsoft/SqlScriptDOM#224 ·
Tất cả issue của microsoft/SqlScriptDOM
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
objectionary/jeo-maven-plugin#1774 ·
-
compiler/runtime
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bot-triaged module: correctness (silent) module: fx release triage triage review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
Grammar Gap: activated › effect clause › {self} deals damage equal to its power to target creature Đang mởarea:mechanics ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
fil-donadoni/tolaria#4317 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
objectionary/eo#8869 · 1 bình luận ·