#23774 : fix the bulk import column name contains dot in it (#23791)

* fix the bulk import column name contains dot in it

* fix for name field

* fix the failing test

* fix the test failure
This commit is contained in:
Ashish Gupta 2025-10-13 17:43:21 +05:30 committed by GitHub
parent 8c02775b3b
commit 73b4f77e2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 3 deletions

View File

@ -30,6 +30,7 @@ import {
} from '../../utils/common';
import {
createColumnRowDetails,
createColumnRowDetailsWithEncloseDot,
createCustomPropertiesForEntity,
createDatabaseRowDetails,
createDatabaseSchemaRowDetails,
@ -104,7 +105,7 @@ const columnDetails1 = {
};
const columnDetails2 = {
...createColumnRowDetails(),
...createColumnRowDetailsWithEncloseDot(),
glossary: glossaryDetails,
};
@ -712,7 +713,7 @@ test.describe('Bulk Import Export', () => {
await fillRecursiveColumnDetails(
{
...columnDetails2,
fullyQualifiedName: `${dbSchemaEntity.entityResponseData.fullyQualifiedName}.${tableDetails2.name}.${columnDetails2.name}`,
fullyQualifiedName: `${dbSchemaEntity.entityResponseData.fullyQualifiedName}.${tableDetails2.name}."${columnDetails2.name}"`,
},
page
);
@ -841,7 +842,6 @@ test.describe('Bulk Import Export', () => {
}
);
await tableEntity.delete(apiContext);
await afterAction();
});

View File

@ -505,6 +505,13 @@ export const createColumnRowDetails = () => {
};
};
export const createColumnRowDetailsWithEncloseDot = () => {
return {
...createColumnRowDetails(),
name: `"playwright.column ${uuid()}"`,
};
};
export const createStoredProcedureRowDetails = () => {
return {
name: `playwright,storedprocedure,${uuid()}`,

View File

@ -55,6 +55,8 @@ class CSVUtilsClassBase {
'column.tags',
'column.glossaryTerms',
'storedProcedure.code',
'column.name*',
'name*',
];
}