FAQs

How to specify OWL database connection properties

OwlOptions
Props
1
import com.owl.common.options.OwlOptions
2
3
val opt = new OwlOptions()
4
opt.dataset = "<dataset_name>"
5
opt.runId = "<date>" // YYYY-MM-DD
6
opt.load.pguser = "<db_username>"
7
opt.load.pgpassword = "<db_password>"
8
opt.load.pghost = "<ip>:<port>/<database_name>"
Copied!
1
import com.owl.common.Props
2
3
val props = new Props()
4
props.dataset = "<dataset_name>"
5
props.runId = "<date>" // YYYY-MM-DD
6
props.pguser = "<db_username>"
7
props.pgpassword = "<db_password>"
8
props.host = "<ip>:<port>/<database_name>"
Copied!
Last modified 20d ago
Copy link