wuyunfeng opened a new issue #5005:
URL: https://github.com/apache/incubator-doris/issues/5005


   **Is your feature request related to a problem? Please describe.**
   
   1. Elasticsearch users maybe use `Logstash`  transform and transmit data to 
ES, the `Logstash` would add `@` leading field name to ES index mapping.  If we 
create table with `@` leading column, Doris would throw `Incorrect column name` 
when user create those table at present
   
   2. Since Doris keep consistent with `Mysql protocol`, Those `column` name 
with `@` leading is legal, I think Doris would supprt this feature by adding  
backticks  ``  to wrap those column name
   
   **Describe the solution you'd like**
   
   Change the `column` validation rules to support `@` leading column name.
   
   Such as:
   
   ```
   CREATE EXTERNAL TABLE `es_10` (
     `@k3` bigint(20) NULL COMMENT "",
     `@k1` boolean NULL COMMENT "",
     `@k2` varchar(20) NULL COMMENT ""
   ) ENGINE=ELASTICSEARCH
   COMMENT "ELASTICSEARCH"
   ```
   
   
   **Describe alternatives you've considered**
   
   **Additional context**
   
   Not sure about the impact on Olap Engine


----------------------------------------------------------------
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.

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

Reply via email to