(value: string)
| 167 | }; |
| 168 | |
| 169 | const unquoteIdentifier = (value: string): string => { |
| 170 | const trimmed = value.trim(); |
| 171 | |
| 172 | if (trimmed.length >= 2 && trimmed.startsWith('"') && trimmed.endsWith('"')) { |
| 173 | return trimmed.slice(1, -1).replaceAll('""', '"'); |
| 174 | } |
| 175 | |
| 176 | return trimmed; |
| 177 | }; |
| 178 | |
| 179 | /** |
| 180 | * Split a user-supplied partition name into `{ schema, name }`. Supports bare (`child`), |
no test coverage detected