zy-kkk opened a new pull request, #19809: URL: https://github.com/apache/doris/pull/19809
# Proposed changes Issue Number: close #xxx ## Problem summary 在Oracle数据库中,我们可以创建带有 `/` 字符的表名,正常情况下我们需要加双引号来适配,但是在java的Metadata database中,加双引号是无效的,所以这里我做了模糊匹配,经过测试是可以的 ```sql mysql> show tables; +----------------------+ | Tables_in_DORIS_TEST | +----------------------+ | /AFS/MARM | | STUDENT | | TEST_CHAR | | TEST_DATE | | TEST_INSERT | | TEST_INT | | TEST_NUM | | TEST_NUMBER | | TEST_NUMBER2 | | TEST_NUMBER3 | | TEST_NUMBER4 | | TEST_RAW | | TEST_TIMESTAMP | +----------------------+ 13 rows in set (0.01 sec) mysql> select * from `/AFS/MARM`; Empty set (0.36 sec) mysql> desc `/AFS/MARM`; +----------+------------------+------+------+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------+------------------+------+------+---------+-------+ | MANDT | TEXT | No | true | NULL | | | MATNR | TEXT | No | true | NULL | | | MEINH | TEXT | No | true | NULL | | | J_3ASIZE | TEXT | No | true | NULL | | | J_4KSCAT | TEXT | No | true | NULL | | | VOLUM | DECIMALV3(13, 3) | No | true | NULL | | | BRGEW | DECIMALV3(13, 3) | No | true | NULL | | | NTGEW | DECIMALV3(13, 3) | No | true | NULL | | | REFDIM | TEXT | No | true | NULL | | | ZZYYBM | TEXT | No | true | NULL | | | ZZBDBM | TEXT | No | true | NULL | | | ZZSSRQ | TEXT | No | true | NULL | | | YYLZD1 | TEXT | No | true | NULL | | | YYLZD2 | TEXT | No | true | NULL | | | YYLZD3 | TEXT | No | true | NULL | | | YYLZD4 | TEXT | No | true | NULL | | | YYLZD5 | TEXT | No | true | NULL | | | ZZXZBM | TEXT | No | true | NULL | | +----------+------------------+------+------+---------+-------+ 18 rows in set (0.04 sec) ``` ## Checklist(Required) * [ ] Does it affect the original behavior * [ ] Has unit tests been added * [ ] Has document been added or modified * [ ] Does it need to update dependencies * [ ] Is this PR support rollback (If NO, please explain WHY) ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org