You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/12/02 07:46:09 UTC

[GitHub] [incubator-doris] wuyunfeng opened a new issue #5005: [Doris][Doris On ES] [Proposal] Support `@` leading column name

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] morningman closed issue #5005: [Doris][Doris On ES] [Proposal] Support `@` leading column name

Posted by GitBox <gi...@apache.org>.
morningman closed issue #5005:
URL: https://github.com/apache/incubator-doris/issues/5005


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org