Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jdbc 如何使用雪花连接到iccube?_Jdbc_Iccube_Snowflake Cloud Data Platform - Fatal编程技术网

Jdbc 如何使用雪花连接到iccube?

Jdbc 如何使用雪花连接到iccube?,jdbc,iccube,snowflake-cloud-data-platform,Jdbc,Iccube,Snowflake Cloud Data Platform,将最新版本的雪花驱动程序复制到iccube的lib文件夹后,启动服务器,然后执行以下操作: 架构创建-向导(维度/度量->表) 关系数据库 连接详细信息 驱动程序类型:JDBC 服务器名称: net.snowflake.client.jdbc.snowflake驱动程序 数据库名称: jdbc:snowflake://xxx-eu-west-1.snowflakecomputing.com 用户:虚拟 密码:xxx 我得到以下错误 [ qtp525575644-48] [DEBUG

将最新版本的雪花驱动程序复制到iccube的lib文件夹后,启动服务器,然后执行以下操作:

  • 架构创建-向导(维度/度量->表)
  • 关系数据库
  • 连接详细信息

    • 驱动程序类型:JDBC
    • 服务器名称: net.snowflake.client.jdbc.snowflake驱动程序
    • 数据库名称: jdbc:snowflake://xxx-eu-west-1.snowflakecomputing.com
    • 用户:虚拟
    • 密码:xxx
    我得到以下错误

    [     qtp525575644-48] [DEBUG] (13:21:33.986 UTC) [R] GWT 20 servlet-started
    [     qtp525575644-48] [DEBUG] (13:21:34.031 UTC) [R] GWT 20 request-process-started [session:node0s0rjncom0tmx12mojb0y00nl60] OTHER (schema:none) GwtDiscoverTableNamesQuery cl_GWT_GwtDiscoverTableNamesQuery_1546953693969_1151490167
    [     qtp525575644-48] [DEBUG] (13:21:34.031 UTC) [R] GWT 20 submit-tasks-started 1 q:0 t:0/8
    [     qtp525575644-48] [DEBUG] (13:21:34.031 UTC) [R] GWT 20 submit-task-started GWT
    [     qtp525575644-48] [DEBUG] (13:21:34.032 UTC) [R] GWT 20 execute-task-started GWT [LOCK:none]
    [     qtp525575644-48] [DEBUG] (13:21:34.034 UTC) [JDBC] creating a new OLAP connection [780055920]
    [     qtp525575644-48] [DEBUG] (13:21:34.065 UTC) [JDBC] opening a new DB connection [780055920]
    [     qtp525575644-48] [DEBUG] (13:21:34.065 UTC) [JDBC] Postgres URL [-] [net.snowflake.client.jdbc.SnowflakeDriver] [null] [jdbc:snowflake://xxx.eu-west-1.snowflakecomputing.com]
    [                  gc] [ WARN] (13:21:34.339 UTC) [GC] (PS Scavenge) : 14ms ( free:174MB / total:227MB / max:456MB )
    [     qtp525575644-48] [DEBUG] (13:21:36.640 UTC) [JDBC] closing the DB connection [780055920]
    [     qtp525575644-48] [ERROR] (13:21:37.119 UTC) [builder] validation error(s)
    [BUILDER_JDBC_CONNECTION_CANNOT_BE_CREATED] JDBC connection for url 'jdbc:snowflake://xxx.eu-west-1.snowflakecomputing.com' and user 'pentaho_reporting' cannot be created due to error 'null'
        at crazydev.iccube.builder.datasource.jdbc.OlapBuilderJdbcConnection.onOpen(SourceFile:110)
        at crazydev.iccube.builder.datasource.OlapBuilderAbstractConnection.open(SourceFile:73)
        at crazydev.iccube.gwt.server.requesthandler.builder.handlers.datatable.GwtDiscoverTableNamesQueryHandler.doHandleImpl(SourceFile:65)
        at crazydev.iccube.gwt.server.requesthandler.builder.handlers.datatable.GwtDiscoverTableNamesQueryHandler.doHandleImpl(SourceFile:29)
        at crazydev.iccube.gwt.server.requesthandler.builder.handlers.common.GwtAbstractBuilderQueryHandler.unsafeHandleImpl(SourceFile:239)
        at crazydev.iccube.gwt.server.requesthandler.builder.handlers.common.GwtAbstractBuilderQueryHandler.safeHandleImpl(SourceFile:186)
        at crazydev.iccube.gwt.server.requesthandler.builder.handlers.common.GwtAbstractBuilderQueryHandler.handleImpl(SourceFile:178)
        at crazydev.iccube.gwt.server.requesthandler.builder.handlers.common.GwtAbstractBuilderQueryHandler.handleImpl(SourceFile:70)
        at crazydev.iccube.gwt.server.requesthandler.common.GwtAbstractQueryHandler.handle(SourceFile:75)
        at crazydev.iccube.gwt.server.requesthandler.common.GwtAbstractQueryHandler.handle(SourceFile:58)
        at crazydev.iccube.gwt.server.requesthandler.common.GwtQueryHandlerDispatcher.dispatchQuery(SourceFile:528)
        at crazydev.iccube.server.request.request.gwt.IcCubeGwtServerRequest$Task.unsafeExecute(SourceFile:629)
        at crazydev.iccube.server.request.task.IcCubeServerTask.execute(SourceFile:247)
        at crazydev.iccube.server.request.executor.IcCubeServerTaskRunnable.run(SourceFile:42)
    

    雪花jdbc驱动程序在对连接调用setReadOnly时抛出一个带有空消息的“SQLFeatureNotSupportedException”

    我们在dev分支中修复了这个问题,并将在下一版本或预版本中提供


    PS:发现表的工作不太好,作为一种解决方法,您可以将SQL查询添加为表。

    您可以粘贴完整的stacktrace吗?似乎缺少原因异常。