Giter VIP home page Giter VIP logo

Comments (3)

yuzefovich avatar yuzefovich commented on July 17, 2024

This reproduces on gceworker (but might take a while) with

./dev test pkg/sql/importer -f=TestImportComputed/import-into-csv-expression-index -v --stress --deadlock

This seems like a race in the schema changer during index creation, so sending it to Foundations.

from cockroach.

rafiss avatar rafiss commented on July 17, 2024

This failed while running the schema change:

CREATE TABLE users (a INT, b INT, INDEX ((a + b)))

From the CRDB logs, it seems like the schema changer tried to execute a CREATE that directly references crdb_internal_idx_expr. I would have expected that to reference the (a+b) expression, but I'm not sure if this is the issue.

I240609 19:38:50.146712 176252440 5@util/log/event_log.go:32 ⋮ [T10,Vtest-tenant,n1,client=127.0.0.1:33212,hostssl,user=root] 1028 ={"Timestamp":1717961930109321724,"EventType":"create_table","Statement":"CREATE TABLE ‹defaultdb›.public.‹users› (‹a› INT8, ‹b› INT8, INDEX (‹crdb_internal_idx_expr›))","Tag":"CREATE TABLE","User":"root","DescriptorID":111,"TableName":"‹defaultdb.public.users›"}

from cockroach.

rafiss avatar rafiss commented on July 17, 2024

Closing in favor of #125619

from cockroach.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.