Yes, right. Only import the Drill JDBC dependence into the pom file. Embedded Drill could start on the step of establishing connection and end on the connection close.
I understand that it is too expensive operation, but it is need for simplifying of start up. With it, we may get 3 ways of bootstrapping Drill: embedded, standalone embedded and distributed. And each one has it's use cases. ________________________________ Від: luoc <[email protected]> Надіслано: 5 листопада 2021 р. 15:45 Кому: [email protected] <[email protected]> Тема: Re: Start embedded Drill on JDBC connection Hi Maksym, Thanks for the idea. In your opinion, there is no longer need to extract the binary tar.gz, and start the Drillbit? Only import the Drill JDBC dependence into your pom file? If so, what is the lifecycle of embedded Drill? > 在 2021年11月5日,21:06,Rumar, Maksym <[email protected]> 写道: > > Hi all drill devs and users! > > I have one thought about embedded Drill and would like to discuss it with you. > Drill JDBC driver may start embedded Drill by self (if to make some > machinations with dependencies) and I think that it is a very useful feature. > With this opportunity, all people not familiar with Drill may try it in so > convenient and simple way: add dependencies in pom and just write a few code > lines of JDBC to make a test. This will leverage the level of entry to Drill > and may make Drill more famous. > > This feature is actually not supported for a now and blocked with a simple > check<https://github.com/apache/drill/blob/4aefcef2b665c5737471664912a26ef6ed9a6cfc/exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillConnectionImpl.java#L109> > in Drill JDBC code. What do you think about it? What if we add support for > it and improve it by adding a convenient way for this case to set up storage > plugins? > > Regards, > Maksym
