New confluence wiki for MetaModel

2016-08-08 Thread Kasper Sørensen
Hi all, We have a brand new wiki for Apache MetaModel, which I hope will be a worthy new home for our living documentation. As you may know, we (and Apache Infra) where facing quite a lot of maintenance/performance issues with the MoinMoin based wiki, so it's now time for us to embrace Confluence

Re: New confluence wiki for MetaModel

2016-08-08 Thread Kasper Sørensen
;ll help in any way I can. > > Kind regards, > > Alberto > > 2016-08-09 7:46 GMT+02:00 Kasper Sørensen > : > >> Hi all, >> >> We have a brand new wiki for Apache MetaModel, which I hope will be a >> worthy new home for our living documentation. As

Re: New confluence wiki for MetaModel

2016-08-09 Thread Kasper Sørensen
You've been added as an admin Alberto. Other PMCs: Just let me know your username then you of course also get admin rights :) 2016-08-08 23:44 GMT-07:00 Alberto Rodriguez : > I'm in! My username is ardlema > > Thank you! > > 2016-08-09 8:12 GMT+02:00 Kasper Sørensen

Re: Querying on nested MongoDB document

2016-08-15 Thread Kasper Sørensen
Hi Shahan, We do have a function, MapValueFunction, which can be used for this. Unfortunately I don't think that our MongoDB connector will push it down to the backing query though. So if you query like SELECT MAP_VALUE(contact, "address.city") FROM customer Then it will functionally work, but i

Re: Querying on nested MongoDB document

2016-08-16 Thread Kasper Sørensen
i am passing same in where clause I am getting null pointer > exception. > > Any response or clue to will be highly appreciated. > > Thanks > Ss > > > > > > On Tue, Aug 16, 2016 at 12:25 PM, Kasper Sørensen < > i.am.kasper.soren...@gmail.com> wrote: > >>

Re: Querying on nested MongoDB document

2016-08-17 Thread Kasper Sørensen
}, > { > "code": "SY3", > "description": "Sydney 3", > "is_virtual_presence": false > } > ] > }, > { > "account_name": "TEST144825354622

Re: retain date while processing

2016-08-24 Thread Kasper Sørensen
Do you want to offer the users to run any type of query (as in - a MetaModel Query) or is it specific things like "lookup by some attribute". In the first case, you could put it into e.g. a PojoDataContext and just serve that as a in-memory datastore. Or you could use something like H2 or Derby and

Re: retain date while processing

2016-08-25 Thread Kasper Sørensen
> 1) What is the default/maximum query result set that Apache MetaModel > would return. > > 2) What is the maximum query result set size that Apache MetaModel can > handle without using any additional components in Java. > > > Regards, > > > > On 24 Aug 2016 20:42,

Re: retain date while processing

2016-08-30 Thread Kasper Sørensen
using Apache MetaMoodel > > Is the above sequence correct or am I missing any step? > > > > Regards, > > > On Wed, Aug 24, 2016 at 8:42 PM, Kasper Sørensen < > i.am.kasper.soren...@gmail.com> wrote: > >> Do you want to offer the users to run any type

Re: Apache Meatmodel with Apache Atlas

2016-08-30 Thread Kasper Sørensen
Hi there, I am not aware of such an initiative no, but it would maybe be an interesting addition to MetaModel? Feel more than welcome to write up a story in JIRA about what you have in mind! Best regards, Kasper 2016-08-30 3:49 GMT-07:00 tesm...@gmail.com : > Hi, > > Is there an integration pla

Re: New confluence wiki for MetaModel

2016-10-15 Thread Kasper Sørensen
GMT-07:00 Tomasz Guziałek : > Hello Kasper, > > I have just registered as "tomaszguzialek". Thanks in advance! > > Pozdrawiam / Regards / Med venlig hilsen > Tomasz Guziałek > > 2016-08-09 17:21 GMT+02:00 Kasper Sørensen >: > > > You've been

Re: Querying with composite key and in-operator with JdbcDataContext

2017-01-03 Thread Kasper Sørensen
Hi Ravi, Thanks for the good question and thorough explanation. Unfortunately I don't think this is possible with Apache MetaModel currently. The IN operator in MetaModel only supports a single field operand, but your use case requires a tuple. I think it would be very nice if you would record thi

Re: NaN / Infinity values

2017-07-15 Thread Kasper Sørensen
Looking at this, it seems like it's a JDBC driver bug. At least the conversion from Object to BigDecimal seems to happen in org.postgresql.jdbc. PgResultSet when I look at the stack trace. So I would suggest either raising the issue with the PostgreSQL people - but first of all I'd try to upgrade t

Re: Possible quoting bug in JdbcInsertBuilding + JdbcUpdateCallback.java

2017-07-20 Thread Kasper Sørensen
I haven't seen this myself no TBH. But it might be dependent also on the type/version of Postgres you have installed. Either way I think it sounds like a legitimate bug to report on JIRA. 2017-07-19 8:12 GMT-07:00 Dana Borger : > > > Looks like the 4.6.0 version of the method JdbcUpdateCallback.

Re: Select count

2017-07-30 Thread Kasper Sørensen
I always just go ahead and cast it to Number without instanceof checking TBH. All the cases that I know of are some subclass of Number. 2017-07-29 5:30 GMT-07:00 Dana Borger : > > > When selecting a count from a query result is there a better way than this? > For example, I’m seeing Postgres retu

Re: Index Support

2017-07-31 Thread Kasper Sørensen
Hi William, Yes, as long as you're just aware that what you're doing is then not agnostic to datastore. It is definately only going to work with JdbcDataContext and possibly (depending on the statement) only going to work with your specific DB. Here's a snippet I've used some times to do ALTER TA

Re: Issue while fetching mongo data

2017-11-16 Thread Kasper Sørensen
Hi Anand, Thank you for the email. To debug the issue, can you provide a bit more information. Specifically: - What exactly does it print out with the code that you have shown? - What columns exist in "newcity" if you use "mongo.getTableByName("newcity").getColumnNames()". Another small thing:

Re: Issue while fetching mongo data

2017-11-17 Thread Kasper Sørensen
5867] 116AK > > 99925 KLAWOCK [-133.055503, 55.552611] 851AK > > 99926 METLAKATLA[-131.579001, 55.121491] 1469 AK > > 99927 POINT BAKER [-133.376372, 56.307858] 426AK > > 99929 WRANGELL [-132.352918, 56.433524] 2573 AK > > 99950

Re: Issue while fetching mongo data

2017-11-19 Thread Kasper Sørensen
; Is there any other way to get rid of this problem. > > > > > > *Regards,* > > *Anand Rai* > > > > [image: cid:4C89D4C6-C54F-4E0F-881F-2BE308F641F2] > <http://www.lntinfotech.com/> > > *Larsen & Toubro Infotech Ltd**.* > > > > &

Re: Issue while fetching mongo data

2017-11-20 Thread Kasper Sørensen
huge number of documents in a collection? > > > > *Regards,* > > *Anand Rai* > > *From:* Kasper Sørensen [mailto:i.am.kasper.soren...@gmail.com] > *Sent:* Monday, November 20, 2017 11:08 AM > > *To:* user@metamodel.apache.org > *Subject:* Re: Issue while fetching mong

Re: Issue while fetching mongo data

2017-11-22 Thread Kasper Sørensen
; *Regards,* > > *Anand Rai* > > > > [image: cid:4C89D4C6-C54F-4E0F-881F-2BE308F641F2] > <http://www.lntinfotech.com/> > > *Larsen & Toubro Infotech Ltd**.* > > > > > > *From:* Kasper Sørensen [mailto:i.am.kasper.soren...@gmail.com] > *Sent:* Mon

Re: Issue while fetching mongo data

2017-11-27 Thread Kasper Sørensen
www.lntinfotech.com/> > > *Larsen & Toubro Infotech Ltd**.* > > > > > > > > *From:* Kasper Sørensen [mailto:i.am.kasper.soren...@gmail.com] > *Sent:* Thursday, November 23, 2017 9:08 AM > > *To:* user@metamodel.apache.org > *Subject:* Re: Issue whil

Re: unable to fetch data from map type column

2017-11-29 Thread Kasper Sørensen
Hi Anand, (Please don't address topics directly to me, there may be others on the mailing list with a just as good (or better) answer for you) :-) Honestly that sounds like a bug to me too. I'll try and reproduce to dig a bit deeper. Best regards, Kasper 2017-11-27 23:29 GMT-08:00 Anandkumar Ra

Fwd: REMINDER - TAC Applications closes in 2 weeks for ACNA Montréal

2018-04-17 Thread Kasper Sørensen
Hi folks, Anyone contemplating on going to ApacheCon NA 2018? Please check the travel assistance below! Best regards, Kasper — Reminder that travel assistance applications for ApacheCon NA 2018 are still open but only for another* 2 weeks*! Please get your applications in NOW. We will be suppor

Re: Window functions in postgreSQL and DataContext#executeQuery(String)

2019-02-03 Thread Kasper Sørensen
Hi Egor, Thanks for your email, it sounds exciting to see MetaModel in Zeppelin, so I hope we can help you make that happen! I've tried answering your questions inline below. Best regards, Kasper Den søn. 3. feb. 2019 kl. 06.58 skrev Egor Klimov < klim.electronicm...@gmail.com>: > Hi everyone,

Re: AND/OR Operator precedence in Metamodel

2019-06-13 Thread Kasper Sørensen
Hi Luca, That's a good question. Actually it's entirely possible to create a query like the one you want. But I don't think the fluent query API allows it because it's a bit simplified. However, if you built up the query using the Query model class (you can call .toQuery() if you build most of it

Re: ALTER TABLE

2020-02-11 Thread Kasper Sørensen
Hi there, No we currently don't have ALTER TABLE operations in MetaModel. Assuming this is for the JDBC module, you could do it using regular JDBC and then just call refreshSchemas() on the datacontext afterwards. Den tir. 4. feb. 2020 kl. 10.36 skrev Rebel Geek : > Hello, > > Is there a way to

Re: Self Joins with Metamodel-Jdbc

2020-05-05 Thread Kasper Sørensen
Responded on StackOverflow. Den lør. 2. maj 2020 kl. 21.42 skrev sunand p : > Hello Team, > > I have the below question with respect to implementing a self join using > metamodel-jdbc. > > Consider I have an employee table which has the following fields id, > name, email, phone, joining_date, man

Apache MetaModel moving to the Attic

2021-06-22 Thread Kasper Sørensen
around the project, and thus you can expect maintenance to be less reliable. Should there be renewed interest, I want to highlight that it IS possible to move projects back out of the attic, given a viable new PMC and process around reestablishing that. Best regards, Kasper Sørensen (Departing PMC

Re: Apache MetaModel moving to the Attic

2021-06-23 Thread Kasper Sørensen
. You can follow this process in JIRA: https://issues.apache.org/jira/browse/ATTIC-198 Thanks, Kasper Sørensen on behalf of MetaModel + the Attic. Den tir. 22. jun. 2021 kl. 09.58 skrev Kasper Sørensen < i.am.kasper.soren...@gmail.com>: > Hello MetaModel users, > > Please be aware