Hi Team, have not kept up with the latest Datahub....
# getting-started
a
Hi Team, have not kept up with the latest Datahub. I am looking at
metatadata-dao-impl
and found out
essearch-dao
are auto-generated classes. Can someone help me point out where to look at so the auto-generated content happens?
g
Hey Liangjun! I think we might need some more info. Which files specifically are you talking about? The class you're talking about may not be auto generated. For example, https://github.com/linkedin/datahub-gma/blob/master/dao-impl/elasticsearch-dao/src/main/java/com/linkedin/metadata/dao/search/ESSearchDAO.java . This class is not auto generated.
m
Yeah, you might be confused in that they are defined in another GitHub project. So if you search for it in
linkedin/datahub
, github won't find it 🙂
we moved a lot of the core framework stuff to
linkedin/datahub-gma
, as gabe linked above
a
I see. thanks! problem solved.
g
🎉
a
internally we are implementing a feature to give the total count of schema fields of a dataset. that's the reason I am looking at the search implementation. It looks like this search has greater improvement. It used to only support
equal
now it has
greater_than
,
less than
. etc.
m
i believe while those options exist in the API, only equal works at run time
the others will 500 I think
@steep-airplane-62865 can confirm
(others are not implemented)
a
I see. thanks for the clarification. we implemented the API differently so it is working for us for right now.
s
That's right only equal is supported atm for search api.