Skip to content

Scripts for loading TPC-H data into IRIS

License

Notifications You must be signed in to change notification settings

bdeboe/isc-tpch-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IRIS TPC-H setup script

Scripts for loading TPC-H data into IRIS.

Presumes you have run the dbgen utility provided with TPC-H (available from the utilities section here) and copied the resulting .tbl files into a data/ folder in this repository's file location.

do ##class(TPCH.Utils).Load("/path/to/isc-tpch-script/")

or from SQL:

CALL TPCH.Load('/path/to/isc-tpch-script/')

By default, this will create the TPC-H tables in the current default schema (which is SQLUser if you didn't set anything) in the current namespace / database. You can override thes using the schema and database arguments respectively. Full signature of the Load() method:

ClassMethod Load(path As %String = "", useIDKey As %Boolean = 1, database As %String = "", schema As %String = "", verbose As %Boolean = 1) As %Status [ SqlProc, SqlName = Load ]

About

Scripts for loading TPC-H data into IRIS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published