for more information on golang hive driver, please refer https://github.com/beltran/gohive
create table test (id int);
insert into table test values (1),(2),(3),(4),(5);
select * from test;
1
2
3
4
apiVersion: druid.apache.org/v1alpha1 | |
kind: Druid | |
metadata: | |
name: cluster | |
spec: | |
podAnnotations: | |
iam.amazonaws.com/role: arn:aws:iam::91243143143423403742:role/my-role | |
env: | |
- name: AWS_REGION | |
value: ap-south-1 |
for more information on golang hive driver, please refer https://github.com/beltran/gohive
create table test (id int);
insert into table test values (1),(2),(3),(4),(5);
select * from test;
1
2
3
4
package yourpackage | |
import ( | |
goflag "flag" | |
"fmt" | |
"os" | |
"strings" | |
"testing" | |
flag "github.com/spf13/pflag" |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" |