Hi Wangliang,
I'll also offer a quick pitch for our upcoming O'Reilly book Learning Apache
Drill. We have chapters about setting up your dev environment, writing a UDF
and writing a format plugin. Available from Safari as an early release; to be
published later this year.
The material on my wiki is are my working notes created when researching the
book material, so that is also a handy resource.
Also, if you look though the history of this list, you'll see occasional
discussions about this topic.
Thanks,
- Paul
On Thursday, October 25, 2018, 3:02:55 AM PDT, Vitalii Diravka
<[email protected]> wrote:
Hi Wangliang,
Do you have some issues with importing project?
Did *mvn clean install* execute successfully for you?
You can start from Drill documentation, it has some general info, which can
be useful for you [1].
Is this Format Plugin for File System Storage Plugin [2]? Or it is separate
Storage Plugin [3] [4]?
The usual way to write the new plugin is to look into some similar existed
Storage Plugin and
use the same or write new implementations for some main interfaces, such
as:
*StoragePlugin, RecordReader, GroupScan, DrillTable, SchemaFactory*
and optionally other interfaces from *org/apache/drill/exec/store*
[5] package
And as you have mentioned Paul's wikis [6] is a good guide to investigate
Drill sources.
[1]
http://drill.apache.org/docs/apache-drill-contribution-ideas/#support-for-new-file-format-readers/writers
[2] https://drill.apache.org/docs/file-system-storage-plugin/
[3] https://drill.apache.org/docs/connect-a-data-source-introduction/
[4] https://github.com/apache/drill/tree/master/contrib
[5]
https://github.com/apache/drill/tree/master/exec/java-exec/src/main/java/org/apache/drill/exec/store
[6] https://github.com/paul-rogers/drill/wiki
Kind regards
Vitalii
On Thu, Oct 25, 2018 at 11:43 AM 王亮 <[email protected]> wrote:
> I want to write some plugins for drill.
>
> but the documentation in drill site is mainly for users, but not for
> developers.
> For example, I want to import drill into Eclipse or Idea, but there seems
> no related information in Google.
>
> I only find some tips in https://github.com/paul-rogers/drill/wiki
> Is there any more documents?
>