• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 22184211391

19 Feb 2026 01:42PM UTC coverage: 87.588% (-0.01%) from 87.601%
22184211391

push

github

ImeevMA
sql: throw duplicate column error for a view

This patch fixes the bug: instruction
box.execute([[CREATE TABLE t (a INTEGER PRIMARY KEY, a INTEGER);]])
and instruction
box.execute([[CREATE VIEW v AS SELECT 1 AS a, 1 AS a;]])
have different behaviors.
Now box.execute([[CREATE VIEW v as VIEW AS SELECT 1 AS a, 1 AS a;]])
returns an error: Space field 'a' is duplicate.

Closes #4545

NO_DOC=bugfix

(cherry picked from commit c704f81c2)

70099 of 118053 branches covered (59.38%)

1 of 2 new or added lines in 1 file covered. (50.0%)

40 existing lines in 16 files now uncovered.

105429 of 120369 relevant lines covered (87.59%)

1386311.2 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.81
/src/box/sql/select.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc