Skip to content

Merge fb_long_identifiers changes into fb_databaseidentifier#6616

Merged
labkey-adam merged 34 commits intofb_databaseidentifierfrom
fb_long_identifiers
Apr 30, 2025
Merged

Merge fb_long_identifiers changes into fb_databaseidentifier#6616
labkey-adam merged 34 commits intofb_databaseidentifierfrom
fb_long_identifiers

Conversation

@labkey-adam
Copy link
Contributor

@labkey-adam labkey-adam commented Apr 29, 2025

Rationale

Merging the long identifiers changes into the database identifiers feature branch: #6564 --> #6498

… method names, new surrogate-pair-aware char truncation methods, test for broken surrogates. Also, code review feedback.
@labkey-adam labkey-adam merged commit 0e9ae8d into fb_databaseidentifier Apr 30, 2025
0 of 8 checks passed
labkey-matthewb added a commit that referenced this pull request May 1, 2025
* I don't think we need placeholder Results(null)

* null check

* DatabaseIdentifier
ColumnInfo.getAlias()
ColumnInfo.getSelectName()

* DatabaseIdentifier

* use SimpleFilter.getSQLFragment(tableInfo)

* TableInfo.getMetaDataName()

* comment

* rm _defaultTableInfo

* sweep for usages of makeLegalIdentiier() and append(alias)

* DatabaseIdentifier.getString() -> getid()
some fuzz testing

* more fuzz testing
fix double-quoting (makeLegalIdentifier) of names in specimen land

* fix exp.xml

* fix un-tabled columinfo

* oops

* sql generation

* makeDatabaseIdentifier()

* oor

* !equals()

* search for "+ col.getAlias() +" (implicit .toString())

* support STR_TABLE_ALIAS in SimpleFilter.SQLClause

* support STR_TABLE_ALIAS in SimpleFilter.SQLClause

* SampleDatasetTable fix

* getProperties()

* newCohortLabel

* replace .get(column.getAlias())

* rm assert

* StringBuilder -> SQLFragment

* createMetaDataNameMap()

* SQLClause reorg

* aggregateResults map is weird

* StringBuilder->SQLFragment
also assert in DatabaseIdentifier.toString() to find teamcity failures

* alias.toString()

* StringBuilder->SQLFragment

* test fix?

* rename get*Name() -> get*Identifier()

* this one weird trick will fix your MS2Test

* generate alias for not-in-database columninfo

* Fix merge conflicts

* columnName -> columnNameFragment

* Comments and visibility

* Mostly spelling

* remove AntTask debug hack

* Imports

* Merge fb_long_identifiers changes into fb_databaseidentifier (#6616)

* getAlias().getId()

* @NotNull SqlDialect

* More cleanup

* CTE(SqlDialect)

* Test fix

* patch up missing dialect in ScriptEngineReport
temporary fix

* comment

---------

Co-authored-by: Adam Rauch <adam@labkey.com>
@labkey-adam labkey-adam deleted the fb_long_identifiers branch May 3, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant