Sha256: f312cd157fa966001d80dd67323d2f3a0504b6382b45e6c5593eada93a6f578f
Contents?: true
Size: 1.25 KB
Versions: 8
Compression:
Stored size: 1.25 KB
Contents
create language "plpythonu"; drop schema if exists prestogres_catalog cascade; create schema prestogres_catalog; create or replace function prestogres_catalog.run_presto_as_temp_table( "server" text, "user" text, "catalog" text, "schema" text, "table_name" text, "query" text) returns void as $$ import prestogres prestogres.run_presto_as_temp_table(server, user, catalog, schema, table_name, query) $$ language plpythonu; create or replace function prestogres_catalog.run_system_catalog_as_temp_table( "server" text, "user" text, "catalog" text, "schema" text, "table_name" text, "query" text) returns void as $$ import prestogres prestogres.run_system_catalog_as_temp_table(server, user, catalog, schema, table_name, query) $$ language plpythonu; create or replace function prestogres_catalog.create_schema_holders("count" int) returns void as $$ import prestogres prestogres.create_schema_holders(count); $$ language plpythonu; create or replace function prestogres_catalog.create_table_holders("count" int) returns void as $$ import prestogres prestogres.create_table_holders(count); $$ language plpythonu; select prestogres_catalog.create_schema_holders(512); select prestogres_catalog.create_table_holders(2048);
Version data entries
8 entries across 8 versions & 1 rubygems