I meant runtime options that are settable via:

ALTER SYSTEM SET 'xyz' = true
ALTER SESSION SET 'xyz' = false

The options can then be used to control the storage behavior at runtime.  

-- Jiang


-----Original Message-----
From: Jinfeng Ni [mailto:[email protected]] 
Sent: Monday, June 13, 2016 10:51 AM
To: user <[email protected]>
Subject: Re: How to extend system or session options

Are you talking about the configuration property for storage plugin?
You can add whatever configuration to storage plugin, but it's storage plugin's 
job to parse and recognize the configuration.

For example, hive storage plugin may have:

 {
   ...
     "hive.metastore.sasl.enabled": "false"
     "your_configuration_name" : "your_configuration_setting"
}




On Mon, Jun 13, 2016 at 10:39 AM, Jiang Wu <[email protected]> wrote:
> Hi All, I am working on a custom storage plugin for Drill.  How do I add some 
> system and session options to Drill for my storage plugin?
>
> I looked the source code and it seems that options are statically compiled.  
> Is there a way for the storage plugin to add to the options at the runtime 
> upon storage plugin initialization?
>
> Thanks.
>
> -- Jiang
>
>

Reply via email to