Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make commands pluggable

See original GitHub issue

I’m exploring the possibility to use SQLLine for headless mode in

The use-case there is as follows:

UC1) Start the application in command line mode, and use interactive console. In interactive mode, it would be nice to have mat-calcite-specific commands like !open-dump cool_dump.hprof.

The thing is !open-dump command does not make much sense in SQLLine without mat-calcite.

UC2) “human-friendly” way to configure Calcite connection. For instance: attach two heap dumps as two Calcite schemas. It might be a good idea to attach JDBC connection to yet another schema as well. It would be nice to be able to “attach/detach” DB connections with simple !add-connection schema_name jdbc:postgresql:... or something like that. This is more Calcite-specific than mat-clacite-specific, however it does not look like SQLLine-specific either.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

snuyanzincommented, Aug 20, 2018

I’m not 100% sure but it looks like moving to Jline3 and commands as widgets will allow to achieve it. It is possible to remove existing and add new (on the fly as well). Currently I try to move to Jline3 and could check if widgets help or not by the end of the week in my sandbox

julianhydecommented, Sep 6, 2018

Fixed in 5a6789d, PR #119. Thanks @snuyanzin!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use the CREATE PLUGGABLE DATABASE statement to create a pluggable database (PDB). This statement enables you to perform the following tasks:.
Read more >
Create and Configure a Pluggable Database (PDB) in Oracle ...
On the "Manage Pluggable Databases" screen shown previously, select the "Create a Pluggable Database" option and click the "Next" button. On the ...
Read more >
Create Pluggable Database Tips - Burleson Consulting
You start by creating a "root" instance database, called a container database (CDB). This container is used to hold many pluggable database "tenants"...
Read more >
Create Oracle Pluggable Database Manually Using SQL Prompt
We can create a pluggable database in an existing multitenant database either using dbca or manually. ... Create PDB:(correct command).
Read more >
Useful Oracle 12c pluggable database commands - Techgoeasy
This post is for useful Oracle 12c pluggable database commands example how to check container database in oracle 12c,drop pluggable ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found