mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-27 00:31:42 +00:00
* 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:
parent
8c02775b3b
commit
73b4f77e2e
@ -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();
|
||||
});
|
||||
|
||||
|
||||
@ -505,6 +505,13 @@ export const createColumnRowDetails = () => {
|
||||
};
|
||||
};
|
||||
|
||||
export const createColumnRowDetailsWithEncloseDot = () => {
|
||||
return {
|
||||
...createColumnRowDetails(),
|
||||
name: `"playwright.column ${uuid()}"`,
|
||||
};
|
||||
};
|
||||
|
||||
export const createStoredProcedureRowDetails = () => {
|
||||
return {
|
||||
name: `playwright,storedprocedure,${uuid()}`,
|
||||
|
||||
@ -55,6 +55,8 @@ class CSVUtilsClassBase {
|
||||
'column.tags',
|
||||
'column.glossaryTerms',
|
||||
'storedProcedure.code',
|
||||
'column.name*',
|
||||
'name*',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user