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


   **Describe the bug**
   MappingPhase.resolveKeywordFields put null value in fetchFieldsContext
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. es index mapping
   {
     "test": {
       "mappings": {
         "properties": {
           "k1": {
             "type": "long"
           },
           "k2": {
             "type": "keyword"
           },
           "k3": {
             "type": "text",
             "fields": {
               "ik": {
                 "type": "text",
                 "analyzer": "ik_max_word"
               }
             }
           }
         }
       }
     }
   }
   
   2. create es table.....
   
   3. See error
   
![image](https://user-images.githubusercontent.com/16074700/89702202-209e5280-d971-11ea-8c42-eee44a6a75bc.png)
   
   
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
    - Browser [e.g. chrome, safari]
    - Version [e.g. 22]
   
   **Smartphone (please complete the following information):**
    - Device: [e.g. iPhone6]
    - OS: [e.g. iOS8.1]
    - Browser [e.g. stock browser, safari]
    - Version [e.g. 22]
   
   **Additional context**
   Add any other context about the problem here.
   


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to