Open lsy3993 opened 1 year ago
Use the latest version and the problem has been solved.
Use the latest version and the problem has been solved.
哪个版本?
Use the latest version and the problem has been solved.
哪个版本?
2.0.2
Use the latest version and the problem has been solved.
哪个版本?
2.0.2
今天我使用2.0.2一样有问题
select * from materials_cdc_v8 limit 1
errCode = 2, detailMessage = (172.16.0.4)[CANCELLED][RUNTIME_ERROR]Expected value of type: STRING; but found type: Array; Document slice is : []
- /root/src/doris-2.0/be/src/common/stack_trace.cpp:302: StackTrace::tryCapture() @ 0x000000000ba1f197 in /root/doris/be/lib/doris_be
- /root/src/doris-2.0/be/src/common/stack_trace.h:0: doris::get_stack_trace[abi:cxx11]() @ 0x000000000ba1d72d in /root/doris/be/lib/doris_be
- /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11 Time: 0.053s
还有更奇怪的
CREATE CATALOG es PROPERTIES ( "type"="es", "hosts"="http://ip:9200", );
esquery查询语句
select * from test where esquery(k4, '{ "match_phrase": { "k4": "doris on es" } }');
报错: [CANCELLED][NOT_IMPLEMENTED_ERROR]esquery only supported on es table
文档内不是支持 扩展的 esquery? https://doris.apache.org/zh-CN/docs/lakehouse/multi-catalog/es/#%E6%89%A9%E5%B1%95%E7%9A%84-esqueryfield-querydsl
Please send me the table structure of your es
Use the latest version and the problem has been solved.
哪个版本?
2.0.2
今天我使用2.0.2一样有问题
select * from materials_cdc_v8 limit 1
errCode = 2, detailMessage = (172.16.0.4)[CANCELLED][RUNTIME_ERROR]Expected value of type: STRING; but found type: Array; Document slice is : []
- /root/src/doris-2.0/be/src/common/stack_trace.cpp:302: StackTrace::tryCapture() @ 0x000000000ba1f197 in /root/doris/be/lib/doris_be
- /root/src/doris-2.0/be/src/common/stack_trace.h:0: doris::get_stack_traceabi:cxx11 @ 0x000000000ba1d72d in /root/doris/be/lib/doris_be
- /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11
Time: 0.053s
{
"materials" : {
"mappings" : {
"dynamic_templates" : [
{
"message_full" : {
"match" : "message_full",
"mapping" : {
"fields" : {
"keyword" : {
"ignore_above" : 2048,
"type" : "keyword"
}
},
"type" : "text"
}
}
},
{
"message" : {
"match" : "message",
"mapping" : {
"type" : "text"
}
}
},
{
"strings" : {
"match_mapping_type" : "string",
"mapping" : {
"type" : "keyword"
}
}
}
],
"properties" : {
"isPublic" : {
"type" : "boolean"
},
"mfrId" : {
"type" : "keyword"
},
"mfrName" : {
"type" : "text",
"analyzer" : "ngram_lower"
},
"name" : {
"type" : "text",
"analyzer" : "ngram_lower"
},
"sn" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword"
}
},
"analyzer" : "ngram_lower"
},
"status" : {
"type" : "boolean"
}
}
}
}
}
还有更奇怪的
CREATE CATALOG es PROPERTIES ( "type"="es", "hosts"="http://ip:9200", );
esquery查询语句
select * from test where esquery(k4, '{ "match_phrase": { "k4": "doris on es" } }');
报错: [CANCELLED][NOT_IMPLEMENTED_ERROR]esquery only supported on es table
文档内不是支持 扩展的 esquery? https://doris.apache.org/zh-CN/docs/lakehouse/multi-catalog/es/#%E6%89%A9%E5%B1%95%E7%9A%84-esqueryfield-querydsl
PUT test
{
"settings": {
"index": {
"number_of_shards": "1",
"number_of_replicas": "0"
}
},
"mappings": {
"properties": {
"k1": {
"type": "long",
"index": "true"
},
"k2": {
"type": "date",
"format": "yyyy-MM-dd"
},
"k3": {
"type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word"
},
"k4": {
"type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word"
},
"k5": {
"type": "float"
}
}
}
}
@liugddx
还有更奇怪的 CREATE CATALOG es PROPERTIES ( "type"="es", "hosts"="http://ip:9200", ); esquery查询语句 select * from test where esquery(k4, '{ "match_phrase": { "k4": "doris on es" } }'); 报错: [CANCELLED][NOT_IMPLEMENTED_ERROR]esquery only supported on es table 文档内不是支持 扩展的 esquery? https://doris.apache.org/zh-CN/docs/lakehouse/multi-catalog/es/#%E6%89%A9%E5%B1%95%E7%9A%84-esqueryfield-querydsl
PUT test { "settings": { "index": { "number_of_shards": "1", "number_of_replicas": "0" } }, "mappings": { "properties": { "k1": { "type": "long", "index": "true" }, "k2": { "type": "date", "format": "yyyy-MM-dd" }, "k3": { "type": "text", "analyzer": "ik_max_word", "search_analyzer": "ik_max_word" }, "k4": { "type": "text", "analyzer": "ik_max_word", "search_analyzer": "ik_max_word" }, "k5": { "type": "float" } } } }
@liugddx
use 2.0.3 version
请问2.0.3在哪里下载?我看官网最新2.0.2
请问2.0.3在哪里下载?我看官网最新2.0.2
Will be released soon
请问2.0.3在哪里下载?我看官网最新2.0.2
Will be released soon
所以2.0.2是不行的?
请问2.0.3在哪里下载?我看官网最新2.0.2
Will be released soon
所以2.0.2是不行的?
yes
2.0.3.1 selectdb0doris 并没有解决
@liugddx
"inventory" : {
"dynamic" : "true",
"properties" : {
"BJ001" : {
"type" : "long"
},
"SX001" : {
"type" : "long"
}
}
},
发现是这个定义导致的,有什么解决方法吗
inventory
This may require some adaptation. Wait a minute, i will deal with it
inventory
This may require some adaptation. Wait a minute, i will deal with it
有什么临时的解决办法?
@bulolo esquery is working normal in the latest branch-2.0 and master branch You can try the 2.0.4 rc release.
Search before asking
Version
doris master
What's Wrong?
query es catalog error.
What You Expected?
query normally
How to Reproduce?
At first, apply the two PRs in master, because the PRs solve other es problem.
Then start es.
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct