0

我正在尝试使用opendistro jdbc驱动程序将第三方应用程序(h2o)中的elasticsearch索引表导入为sql表,方法是提供以下连接url,但只导入索引列(模式)。不导入数据(记录)。

    conn_url = “jdbc:elasticsearch://https://127.0.0.1:9200?trustSelfSigned=true”
    table = “testindex”
    username = “admin”
    password = “admin”
    
    Can you Please advice this above connection url is correct or not.In opendistro sql jdbc documentation there are many property key values are mentioned in connection url.Am i missing anything here.
    [![enter image description here][1]][1]
    jdbc:elasticsearch://[scheme://][host][:port][/context-path]?[property-key=value]&[property-key2
    =value2]…&[property-keyN=valueN]
    
    I am attaching screenshots of table import .Please suggest.
    
    

在此处输入图像描述

4

0 回答 0