Skip to content

Commit bce8cf6

Browse files
mihirj1993simone-gaia
authored andcommitted
Replace usage of 'common fields' with 'value linked references' (#1070)
* Replace usage of 'common fields' with 'value linked references'
1 parent 897a088 commit bce8cf6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

production/catalog/src/ddl_executor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ gaia_id_t ddl_executor_t::create_relationship(
448448
if (cardinality == relationship_cardinality_t::one)
449449
{
450450
throw invalid_field_map(
451-
"Defining a 1:1 relationship using common fields (between table '"
451+
"Defining a 1:1 relationship using value linked references (between table '"
452452
+ link1.from_table + "' and table '" + link1.to_table + "') is not supported.");
453453
}
454454

production/catalog/tests/test_ddl_execution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ create table t1(a1 int16 unique, c1 int32 unique, link1 references t2[] where t1
400400
create table t2(a2 int16, c2 int32, link2 references t1 where t1.c1 = t2.c2);
401401
)",
402402
// Forward reference 1:1 relationship with 'where' without 'using'.
403-
// We have disabled 1:1 relationships using common fields (hybrid index).
403+
// We have disabled 1:1 relationships using value linked references (hybrid index).
404404
R"(
405405
create table person (
406406
name string,

production/tools/gaia_translate/tests/test_rulesets.ruleset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ruleset test_tags
6060
// test_tags_code.basic_tags
6161
on_insert(R:registration)
6262
{
63-
// Check common field references.
63+
// Check value linked references.
6464
if (strcmp(R.reg_id, reg_id) != 0)
6565
{
6666
g_oninsert3_result = test_error_result_t::e_tag_field_mismatch;

0 commit comments

Comments
 (0)