Fixing issue #5594 - allowing use of double underscores in table names for SQL.
This commit is contained in:
parent
e59d59afae
commit
a7fe15244b
|
@ -85,9 +85,9 @@ export function breakExternalTableId(tableId: string | undefined) {
|
||||||
return {}
|
return {}
|
||||||
}
|
}
|
||||||
const parts = tableId.split(DOUBLE_SEPARATOR)
|
const parts = tableId.split(DOUBLE_SEPARATOR)
|
||||||
let tableName = parts.pop()
|
let datasourceId = parts.shift()
|
||||||
// if they need joined
|
// if they need joined
|
||||||
let datasourceId = parts.join(DOUBLE_SEPARATOR)
|
let tableName = parts.join(DOUBLE_SEPARATOR)
|
||||||
return { datasourceId, tableName }
|
return { datasourceId, tableName }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue