执行
SELECT adminTeamCode team FROM health_edu_article_patient_test3 group by team
报错
解决办法:
在es分服务器elasticsearch.yml添加如下配置
script.inline: on
script.indexed: on
script.engine.groovy.inline.aggs: on
本文介绍了一个特定SQL查询报错的情况及解决办法。通过在Elasticsearch配置文件中添加必要的脚本执行设置,解决了因配置限制导致的SQL语法问题。
执行
SELECT adminTeamCode team FROM health_edu_article_patient_test3 group by team
报错
解决办法:
在es分服务器elasticsearch.yml添加如下配置
script.inline: on
script.indexed: on
script.engine.groovy.inline.aggs: on
1673
890
1873

被折叠的 条评论
为什么被折叠?