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

tarantool / tarantool / 22177551240

19 Feb 2026 10:13AM UTC coverage: 87.652% (+0.01%) from 87.641%
22177551240

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

70398 of 118379 branches covered (59.47%)

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

25 existing lines in 9 files now uncovered.

105836 of 120745 relevant lines covered (87.65%)

1402599.92 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