apache-drill

Apache Drill - connection to Drill in Embedded Mode [java]

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 04:16:49
问题 I want to connect to Drill by Java app, and so far I was trying to use JDBC to do it and I'm using example from https://github.com/vicenteg/DrillJDBCExample, but... when I change DB_URL static variable to "jdbc:drill:zk=local" and start app i get exception: java.sql.SQLNonTransientConnectionException: Running Drill in embedded mode using Drill's jdbc-all JDBC driver Jar file alone is not supported. and so far I didn't found any workaround. Any idea how to connect to Drill in embedded mode? I

Apache Drill has bad performance against SQL Server

别说谁变了你拦得住时间么 提交于 2019-11-28 02:42:15
问题 I tried using apache-drill to run a simple join-aggregate query and the speed wasn't really good. my test query was: SELECT p.Product_Category, SUM(f.sales) FROM facts f JOIN Product p on f.pkey = p.pkey GROUP BY p.Product_Category Where facts has about 422,000 rows and product has 600 rows. the grouping comes back with 4 rows. First I tested this query on SqlServer and got a result back in about 150ms. With drill I first tried to connect directly to SqlServer and run the query, but that was