Looks like there is no way to get SessionOptionManager in Metadata class from anywhere. The question isn't actual. I will take a look to store the option in ParquetPluginConfig.
Thanks, Sudheesh. Kind regards Vitalii 2016-09-16 19:11 GMT+03:00 Sudheesh Katkam <[email protected]>: > Can you provide more details about your case? > > DRILL-3363 requests for a nice error message for options that cannot be > set at session level (there is no handle to a UserSession in some cases > e.g. function registry). AFAIK currently, such statements are no ops. > > Thank you, > Sudheesh > > > On Sep 16, 2016, at 8:55 AM, Vitalii Diravka <[email protected]> > wrote: > > > > Hi all! > > > > I am going to add one new option and it looks like I can use it only at > the > > system level (Metadata class). > > > > I saw this task https://issues.apache.org/jira/browse/DRILL-3363. > > Does it mean that only system-wide-variables could be used in drill > > (without appropriate session options)? > > > > > > Kind regards > > Vitalii > >
