Dataset Viewer
Auto-converted to Parquet Duplicate
hunk
dict
file
stringlengths
0
11.8M
file_path
stringlengths
2
234
label
int64
0
1
commit_url
stringlengths
74
103
dependency_score
sequencelengths
5
5
{ "id": 0, "code_window": [ " ParentID 0, ParentSchemaID 0: database \"defaultdb\" (50): processed\n", " ParentID 0, ParentSchemaID 0: database \"postgres\" (51): processed\n", " ParentID 52, ParentSchemaID 29: relation \"users\" (53): referenced database ID 52: referenced descriptor not found...
debug doctor zipdir --verbose ---- debug doctor zipdir testdata/doctor/debugzip 21.11-52 --verbose reading testdata/doctor/debugzip/system.descriptor.txt reading testdata/doctor/debugzip/system.namespace.txt WARNING: errors occurred during the production of system.jobs.txt, contents may be missing or incomplete. readin...
pkg/cli/testdata/doctor/test_examine_zipdir_verbose
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.9443483948707581, 0.11422600597143173, 0.0001909757120301947, 0.0006782904965803027, 0.2802562117576599 ]
{ "id": 0, "code_window": [ " ParentID 0, ParentSchemaID 0: database \"defaultdb\" (50): processed\n", " ParentID 0, ParentSchemaID 0: database \"postgres\" (51): processed\n", " ParentID 52, ParentSchemaID 29: relation \"users\" (53): referenced database ID 52: referenced descriptor not found...
// Copyright 2020 The Cockroach Authors. // // Licensed as a CockroachDB Enterprise file under the Cockroach Community // License (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // https://github.com/cockroachdb/cockroach/blob/master/li...
pkg/ccl/sqlproxyccl/frontend_admitter.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017748989921528846, 0.00016985720139928162, 0.0001599833049112931, 0.000170803556102328, 0.00000491416358272545 ]
{ "id": 0, "code_window": [ " ParentID 0, ParentSchemaID 0: database \"defaultdb\" (50): processed\n", " ParentID 0, ParentSchemaID 0: database \"postgres\" (51): processed\n", " ParentID 52, ParentSchemaID 29: relation \"users\" (53): referenced database ID 52: referenced descriptor not found...
post ---- ---- searchIssue repo:"cockroach" user:"cockroachdb" is:issue is:open in:title label:"C-test-failure" sort:created-desc "cmd/roachtest: some-roachtest failed" label:branch-release-0.1: [github.Issue{Number:30, Title:"boom", Labels:[github.Label{URL:"fake", Name:"C-test-failure"} github.Label{URL:"fake", Name:...
pkg/cmd/internal/issues/testdata/post/failure-with-url-matching-and-related-issue.txt
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001754599215928465, 0.00017166875477414578, 0.00016664880968164653, 0.00017128614126704633, 0.00000312298902827024 ]
{ "id": 0, "code_window": [ " ParentID 0, ParentSchemaID 0: database \"defaultdb\" (50): processed\n", " ParentID 0, ParentSchemaID 0: database \"postgres\" (51): processed\n", " ParentID 52, ParentSchemaID 29: relation \"users\" (53): referenced database ID 52: referenced descriptor not found...
statement ok SET experimental_enable_unique_without_index_constraints = true statement ok CREATE TABLE test_kv(k INT PRIMARY KEY, v INT, w DECIMAL); CREATE UNIQUE INDEX test_v_idx ON test_kv(v); CREATE INDEX test_v_idx2 ON test_kv(v DESC) STORING(w); CREATE INDEX test_v_idx3 ON test_kv(w) STORING(v); CREATE TA...
pkg/sql/logictest/testdata/logic_test/dependencies
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001751040981616825, 0.00016951175348367542, 0.00016317021800205112, 0.0001704189198790118, 0.0000033402616281819064 ]
{ "id": 1, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicles\" (54): processed\n", " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_users\"\n", " ParentID 52, ParentSchemaID 29: relation \"...
debug doctor zipdir --verbose ---- debug doctor zipdir testdata/doctor/debugzip 21.11-52 --verbose reading testdata/doctor/debugzip/system.descriptor.txt reading testdata/doctor/debugzip/system.namespace.txt WARNING: errors occurred during the production of system.jobs.txt, contents may be missing or incomplete. readin...
pkg/cli/testdata/doctor/test_examine_zipdir_verbose
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.9944576025009155, 0.10318175703287125, 0.00020600168500095606, 0.0011755257146432996, 0.2971707880496979 ]
{ "id": 1, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicles\" (54): processed\n", " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_users\"\n", " ParentID 52, ParentSchemaID 29: relation \"...
// Copyright 2020 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/ui/workspaces/db-console/src/util/analytics/trackTerminate.tsx
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017951583140529692, 0.00017653295071795583, 0.00017389531421940774, 0.00017618767742533237, 0.000002307517888766597 ]
{ "id": 1, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicles\" (54): processed\n", " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_users\"\n", " ParentID 52, ParentSchemaID 29: relation \"...
pretty # # Generate code for interesting rule. # [Relational] define Select { # Input comment. Input RelExpr Filters FiltersExpr } [Relational, Join, JoinNonApply] define InnerJoin { Left RelExpr Right RelExpr On FiltersExpr } [Scalar, Bool, List] define Filters { } [Scalar, Bool, ListI...
pkg/sql/opt/optgen/cmd/optfmt/testdata/test
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017786974785849452, 0.00017261842731386423, 0.00016348386998288333, 0.00017237701104022563, 0.000002977836857098737 ]
{ "id": 1, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicles\" (54): processed\n", " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_users\"\n", " ParentID 52, ParentSchemaID 29: relation \"...
// Copyright 2017 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/util/fsm/doc.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001794389681890607, 0.00017095690418500453, 0.00016543194942642003, 0.00017029163427650928, 0.000004505441665969556 ]
{ "id": 2, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): processed\n", " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_rides\"\n", " ParentID 52, ParentSchema...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.007629964500665665, 0.0007180050015449524, 0.00016343571769539267, 0.00017223868053406477, 0.00191744533367455 ]
{ "id": 2, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): processed\n", " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_rides\"\n", " ParentID 52, ParentSchema...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/util/log/trace_client_test.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017906841821968555, 0.00017241528257727623, 0.00016840978059917688, 0.00017212201782967895, 0.00000267729046754539 ]
{ "id": 2, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): processed\n", " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_rides\"\n", " ParentID 52, ParentSchema...
// Copyright 2017 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/kv/kvserver/batcheval/cmd_refresh_range.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00025433406699448824, 0.00017721173935569823, 0.00016423885244876146, 0.00017195970576722175, 0.000020856499759247527 ]
{ "id": 2, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): processed\n", " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_rides\"\n", " ParentID 52, ParentSchema...
// Copyright 2016 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/cli/examples.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017884709814097732, 0.000173564360011369, 0.00017025135457515717, 0.00017363969527650625, 0.0000024544390271330485 ]
{ "id": 3, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): processed\n", " ParentID 52, ParentSchemaID 29: relation \"promo_codes\" (57): referenced database ID 52: referenced descriptor not found\n", " ParentID 52, ParentSchemaID 29: relation \"pro...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0038828605320304632, 0.00044836054439656436, 0.00016177038196474314, 0.00016700627747923136, 0.000953742244746536 ]
{ "id": 3, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): processed\n", " ParentID 52, ParentSchemaID 29: relation \"promo_codes\" (57): referenced database ID 52: referenced descriptor not found\n", " ParentID 52, ParentSchemaID 29: relation \"pro...
// Copyright 2019 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/storage/mvcc_incremental_iterator_test.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.000453155895229429, 0.00017261356697417796, 0.00016121465887408704, 0.0001703559246379882, 0.000025440107492613606 ]
{ "id": 3, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): processed\n", " ParentID 52, ParentSchemaID 29: relation \"promo_codes\" (57): referenced database ID 52: referenced descriptor not found\n", " ParentID 52, ParentSchemaID 29: relation \"pro...
// Copyright 2016 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/sem/tree/overload.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0003708941803779453, 0.00017061599646694958, 0.00015604721556883305, 0.0001686929608695209, 0.00002005200985877309 ]
{ "id": 3, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): processed\n", " ParentID 52, ParentSchemaID 29: relation \"promo_codes\" (57): referenced database ID 52: referenced descriptor not found\n", " ParentID 52, ParentSchemaID 29: relation \"pro...
# If you change this file, regenerate the certificate with # openssl req -new -x509 -sha256 -key testserver.key -out testserver.crt -days 3650 -config testserver_config.cnf # default_bits = 2048 distinguished_name = dn x509_extensions = san req_extensions = san extensions = san prompt ...
pkg/ccl/sqlproxyccl/testdata/testserver_config.cnf
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001688458287389949, 0.0001660445996094495, 0.00016324337047990412, 0.0001660445996094495, 0.0000028012291295453906 ]
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
79

Collection including code-philia/CoEdPilot-file-locator