prestogres 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/pgsql/setup.sql ADDED
@@ -0,0 +1,28 @@
1
+
2
+ create language "plpythonu";
3
+
4
+ create schema prestogres_catalog;
5
+
6
+ create or replace function prestogres_catalog.run_presto_as_temp_table(
7
+ "server" text,
8
+ "user" text,
9
+ "catalog" text,
10
+ "schema" text,
11
+ "table_name" text,
12
+ "query" text)
13
+ returns void as $$
14
+ import prestogres
15
+ prestogres.run_presto_as_temp_table(server, user, catalog, schema, table_name, query)
16
+ $$ language plpythonu;
17
+
18
+ create or replace function prestogres_catalog.run_system_catalog_as_temp_table(
19
+ "server" text,
20
+ "user" text,
21
+ "catalog" text,
22
+ "table_name" text,
23
+ "query" text)
24
+ returns void as $$
25
+ import prestogres
26
+ prestogres.run_system_catalog_as_temp_table(server, user, catalog, table_name, query)
27
+ $$ language plpythonu;
28
+
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prestogres
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sadayuki Furuhashi
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-01-15 00:00:00.000000000 Z
11
+ date: 2014-01-25 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: 0.9.2
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: 0.9.2
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake-compiler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: 0.8.3
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: 0.8.3
62
55
  description: Presto PostgreSQL protocol gateway
@@ -68,7 +61,8 @@ extensions:
68
61
  - ext/extconf.rb
69
62
  extra_rdoc_files: []
70
63
  files:
71
- - .gitignore
64
+ - ".gitignore"
65
+ - ChangeLog
72
66
  - Gemfile
73
67
  - Gemfile.lock
74
68
  - LICENSE
@@ -464,33 +458,30 @@ files:
464
458
  - pgpool2/ylwrap
465
459
  - pgsql/presto_client.py
466
460
  - pgsql/prestogres.py
467
- - pgsql/setup_functions.sql
468
- - pgsql/setup_language.sql
461
+ - pgsql/setup.sql
469
462
  - prestogres.gemspec
470
463
  homepage: https://github.com/treasure-data/prestogres
471
464
  licenses:
472
465
  - Apache 2.0
466
+ metadata: {}
473
467
  post_install_message:
474
468
  rdoc_options: []
475
469
  require_paths:
476
470
  - lib
477
471
  required_ruby_version: !ruby/object:Gem::Requirement
478
- none: false
479
472
  requirements:
480
- - - ! '>='
473
+ - - ">="
481
474
  - !ruby/object:Gem::Version
482
475
  version: '0'
483
476
  required_rubygems_version: !ruby/object:Gem::Requirement
484
- none: false
485
477
  requirements:
486
- - - ! '>='
478
+ - - ">="
487
479
  - !ruby/object:Gem::Version
488
480
  version: '0'
489
481
  requirements: []
490
482
  rubyforge_project:
491
- rubygems_version: 1.8.23
483
+ rubygems_version: 2.2.0
492
484
  signing_key:
493
- specification_version: 3
485
+ specification_version: 4
494
486
  summary: Presto PostgreSQL protocol gateway
495
487
  test_files: []
496
- has_rdoc: false
@@ -1,21 +0,0 @@
1
-
2
- create or replace function run_presto_as_temp_table(
3
- "server" TEXT,
4
- "user" TEXT,
5
- "catalog" TEXT,
6
- "schema" TEXT,
7
- "table_name" TEXT,
8
- "query" TEXT)
9
- returns void as $$
10
- import prestogres
11
- prestogres.run_presto_as_temp_table(server, user, catalog, schema, table_name, query)
12
- $$ language plpythonu;
13
-
14
- create or replace function presto_create_tables(
15
- "server" TEXT,
16
- "user" TEXT,
17
- "catalog" TEXT)
18
- returns void as $$
19
- import prestogres
20
- prestogres.presto_create_tables(server, user, catalog)
21
- $$ language plpythonu;
@@ -1,3 +0,0 @@
1
-
2
- create language "plpythonu" handler plpython_call_handler;
3
-