Skip to content

Instantly share code, notes, and snippets.

set parallel_setup_cost = 0;
set parallel_tuple_cost = 0;

explain select * from http((
                  'GET',
                  'http://ya.ru/',
                  ARRAY[http_header('Accept','text/html')],
                  NULL,
                  NULL
This file has been truncated, but you can view the full file.
172.18.0.17 - - [06/Apr/2020:08:23:10 +0000] "GET /apiv2/dataset/tmp.UNTITLED/version/0001978259038293/run?tipVersion=0001978259038293 HTTP/1.1" 200 1127 "https://dremio.yasp.com/tmp/tmp/UNTITLED?jobId=2178e383-db43-e1ce-b014-ee9a63ed3500&tipVersion=0001978259038293&version=0001978259038293" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0"
2020-04-06T08:23:12.035+0000: [GC (Allocation Failure) [PSYoungGen: 192252K->512K(190976K)] 364339K->174152K(1998848K), 0.2285361 secs] [Times: user=3.65 sys=0.30, real=0.22 secs]
2020-04-06 08:23:12,928 [FABRIC-rpc-event-queue] INFO c.d.sabot.exec.FragmentExecutors - Received remote fragment start instruction for 21751911-22fa-7832-b37b-275e71bc1300:0:0
2020-04-06 08:23:13,443 [e0 - 21751911-22fa-7832-b37b-275e71bc1300:frag:0:0] INFO c.d.s.e.f.FragmentStatusReporter - 21751911-22fa-7832-b37b-275e71bc1300:0:0: State to report: FINISHED
2020-04-06 08:23:13,572 [out-of-band-observer] INFO query.logger - {"queryId":"21751911-22fa-7832-b3
@deem0n
deem0n / pget.go
Created April 9, 2018 16:05 — forked from montanaflynn/pget.go
Bounded Parallel Get Requests in Golang
package main
import (
"fmt"
"net/http"
"sort"
"time"
)
// a struct to hold the result from each request including an index
@deem0n
deem0n / gist:8ff35a10c6bcd847adfdd979884ee4a7
Created February 22, 2017 13:08
Compile siriDB on MacOS X
export CFLAGS="-I/usr/local/include -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/libuv/1.11.0/include"
export LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/pcre/8.39/lib -L/usr/local/Cellar/libuv/1.11.0/lib -L/usr/local/Cellar/ossp-uuid/1.6.2_2/lib"
#include <Foundation/Foundation.h>
#include <stdio.h>
#include <objc/objc.h>
/*
TODO: Implement addNode,connect,addInitial for building network incrementally
TODO: Implement a component factory, to instantiate component from string name
TODO: Implement parsing of FBP .json format, build network from this
TODO: Implement queing of messages and asyncronous delicivery
*/