Re: Aliases for schemas

2017-11-14 Thread Enrico Olivelli
It works very well ! Thank you Enrico 2017-11-14 14:57 GMT+01:00 Enrico Olivelli : > ok so I can create the rootSchema, populate with all the schemas and then > give to the config builder the "default schema" > I will give it a try > it sounds tricky to me, maybe I will

Re: Aliases for schemas

2017-11-14 Thread Enrico Olivelli
ok so I can create the rootSchema, populate with all the schemas and then give to the config builder the "default schema" I will give it a try it sounds tricky to me, maybe I will file an issue Cheers Enrico 2017-11-14 14:55 GMT+01:00 Luis Fernando Kauer : > When

Re: Aliases for schemas

2017-11-14 Thread Enrico Olivelli
But actually I am setting the "rootSchema" there. Unfortunately there is no notion of "root schema" in FrameworkConfig, can you point me how to set this different "root schema" ? Enrico 2017-11-14 14:32 GMT+01:00 Luis Fernando Kauer : > Hi, > FrameworkConfig has

Re: Aliases for schemas

2017-11-14 Thread Luis Fernando Kauer
Hi, FrameworkConfig has getDefaultSchema(), from javadoc "Returns the default schema that should be checked before looking at the root schema.  Returns null to only consult the root schema". So, if you are using Frameworks.newConfigBuilder(), you can set it using ".defaultSchema(

Aliases for schemas

2017-11-14 Thread Enrico Olivelli
Hi, (I am playing with the planner, you know) I have several "schema" in my system, like "one", "two" So my root schema is built this way: final SchemaPlus rootSchema = Frameworks.createRootSchema(true); for (String tableSpace : listTableSpaces()) { SchemaPlus schema =