This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------ | |
* * _ | |
* * | | ___ _ __ ___ | |
* * | |/ _ \ '_ \/ __| | |
* * | | __/ | | \__ \ | |
* * |_|\___|_| |_|___/ | |
* * | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------- | |
Dependency | |
------------- | |
<dependency> | |
<groupId>org.apache.drill.exec</groupId> | |
<artifactId>drill-jdbc</artifactId> | |
<version>1.1.0</version> | |
</dependency> | |
---------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit e1f17a09b6d402e78268753897cbdbd4f8bed169 | |
Author: Yash Sharma <yash360@gmail.com> | |
Date: Mon Jul 6 09:51:22 2015 +0530 | |
DRILL-92 : Cassandra storage plugin - rebased on Drill-1.2.0 | |
diff --git a/contrib/pom.xml b/contrib/pom.xml | |
index 8c00e76..0269efb 100644 | |
--- a/contrib/pom.xml | |
+++ b/contrib/pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 Apr 2015 23:17:00,400 [Grizzly-worker(7)] INFO org.apache.hadoop.hive.metastore.MetaStoreDirectSql - MySQL check failed, assuming we are not on mysql: Lexical error at line 1, column 5. Encountered: "@" (64), after : "". | |
28 Apr 2015 23:17:00,402 [Grizzly-worker(7)] INFO DataNucleus.Query - Reading in results for query "org.datanucleus.store.rdbms.query.SQLQuery@0" since the connection used is closing | |
28 Apr 2015 23:17:00,402 [Grizzly-worker(7)] INFO org.apache.hadoop.hive.metastore.ObjectStore - Initialized ObjectStore | |
28 Apr 2015 23:17:00,420 [Grizzly-worker(7)] ERROR hive.ql.metadata.Hive - NoSuchObjectException(message:default.dim_table table not found) | |
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_table(HiveMetaStore.java:1561) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
class MyUdf: | |
name = "mysimpleudf" | |
scope = "SIMPLE" | |
nulls = "NULL_IF_NULL" | |
def setup(self): | |
print 'in setup' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/* PINTEREST TYPE TILE STYLES | |
-------------------------------------------------- */ | |
#wrapper { | |
width: 90%; | |
max-width: 1100px; | |
min-width: 800px; | |
margin: 50px auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////////////////// | |
// Version 1 | |
////////////////////////////////////////////////////////////////////////////////// | |
var getFirstTuesdayOfMonth = function(year, month){ | |
var date = new Date(year, month, 1, 0, 0, 0, 0); | |
if(date.getDay() < 3){ | |
date.setDate(3-date.getDay()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import re | |
import urllib2 | |
import json | |
import os, sys | |
import csv, operator | |
def getMovieList(moviedir_path, movielist_path): | |
print 'INFO: Creating Movie list.' |