[jira] [Created] (DRILL-7776) Drill yelp tutorial throwing error that repeated_count missing implementation

2020-08-11 Thread Kun Deng (Jira)
Kun Deng created DRILL-7776:
---

 Summary: Drill yelp tutorial throwing error that repeated_count 
missing implementation
 Key: DRILL-7776
 URL: https://issues.apache.org/jira/browse/DRILL-7776
 Project: Apache Drill
  Issue Type: Bug
  Components: Functions - Drill
Affects Versions: 1.17.0
Reporter: Kun Deng


{color:#0033b3}select name{color},repeated_count(categories) {color:#0033b3}as 
{color}{color:#00}categorycount{color}, categories {color:#0033b3}from 
{color}`yelp_academic_dataset_business.json` {color:#0033b3}where 
true{color}=repeated_contains(categories,{color:#067d17}'Restaurants'{color}) 
{color:#0033b3}order by {color}repeated_count({color:#00}categories{color}) 
{color:#0033b3}desc limit {color}{color:#1750eb}10{color};

 

SYSTEM ERROR: SchemaChangeException: Failure while trying to materialize 
incoming schema. Errors: Error in expression at index 0. Error: Missing 
function implementation: [repeated_count(VARCHAR-OPTIONAL)]. Full expression: 
null.. Fragment ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (DRILL-7775) drill won't load. The last thing it shows is the tagline.

2020-08-11 Thread Kun Deng (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-7775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17175784#comment-17175784
 ] 

Kun Deng commented on DRILL-7775:
-

The issue is resolved by closing another drill daemon that was using certain 
port.  I am not sure what port, but I had my virtualbox running and it was 
running a drill daemon/instance with the port shared to the host.

 

> drill won't load.  The last thing it shows is the  tagline. 
> 
>
> Key: DRILL-7775
> URL: https://issues.apache.org/jira/browse/DRILL-7775
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Functions - Drill
>Affects Versions: 1.17.0
> Environment: Mac catalina
>  
>Reporter: Kun Deng
>Priority: Major
>
> Hi,
> New to drill but I can't get it to run on my mac.
> It seems to start correctly when I run drill-embedded but it won't show the 
> prompt for me.
> I can press and type but there is no response and the only way to quit is 
> typing ctrl-C 3 times.
> 1.17.0 xxx$ bin/drill-embedded
> Apache Drill 1.17.0
> "Data is the new oil. Ready to Drill some?"
>  
> Why? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (DRILL-7745) Add storage plugin for IPFS

2020-08-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-7745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17175429#comment-17175429
 ] 

ASF GitHub Bot commented on DRILL-7745:
---

dbw9580 commented on a change in pull request #2084:
URL: https://github.com/apache/drill/pull/2084#discussion_r468469590



##
File path: 
contrib/storage-ipfs/src/main/java/org/apache/drill/exec/store/ipfs/IPFSCompat.java
##
@@ -0,0 +1,284 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package org.apache.drill.exec.store.ipfs;
+
+import io.ipfs.api.IPFS;
+import io.ipfs.api.JSONParser;
+import io.ipfs.multihash.Multihash;
+
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+import java.util.Optional;
+import java.util.concurrent.CompletableFuture;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.ExecutorService;
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.TimeoutException;
+import java.util.concurrent.atomic.AtomicReference;
+import java.util.function.Consumer;
+import java.util.function.Predicate;
+
+/**
+ * Compatibility fixes for java-ipfs-http-client library
+ *
+ * Supports IPFS up to version v0.4.23, due to new restrictions enforcing all 
API calls to be made with POST method.
+ * Upstream issue tracker: 
https://github.com/ipfs-shipyard/java-ipfs-http-client/issues/157
+ */

Review comment:
   Good news, it's trivial to revert to Java 8: 
https://github.com/ipfs-shipyard/java-ipfs-http-client/pull/172.
   Let's hope it gets merged soon.





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Add storage plugin for IPFS
> ---
>
> Key: DRILL-7745
> URL: https://issues.apache.org/jira/browse/DRILL-7745
> Project: Apache Drill
>  Issue Type: New Feature
>  Components: Storage - Other
>Affects Versions: 1.18.0
>Reporter: Bowen Ding
>Assignee: Bowen Ding
>Priority: Major
>
> See introduction here: [https://github.com/bdchain/Minerva]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)