Custom GROUP BY method. OLAP functionality.

2020-04-28 Thread Mads Jensen
thought this through. I think it should be manageable for me to work on getting subquery (I posted another thread 2-3 weeks ago) and a custom grouping method introduced in Django 3.2. [1] https://code.djangoproject.com/ticket/27646 -- Med venlig hilsen / Kind regards, Mads Jensen -- You

Filtering window expressions. Ticket #28333

2020-04-04 Thread Mads Jensen
h. However, I'd like to interact with people who have worked more with the internals of the ORM than I did. One particular name Simon Charettes comes to mind, since he also volunteered to mentor GSOC in the ORM area. [1] https://code.djangoproject.com/ticket/28333 -- Med venlig hilsen / Kind reg

Re: GSoC 2020

2019-12-24 Thread Mads Jensen
On Monday, December 23, 2019 at 3:58:36 PM UTC+1, Nishchal Gupta wrote: > > Hello everyone, > > This is Nishchal Gupta and I am current studying in KCNIT under (AKTU). I > have just completed my third semester. > > I want to participate in Google Summer of Code 2020. I am familiar with >

Partial indexes, PR help

2018-07-23 Thread Mads Jensen
option as a last resort. The tests are still failing, and Oracle had some transaction problem, that I'm also very oblivious about. Again, error messages are in the Jenkins output. Link to the PR: https://github.com/django/django/pull/10140 -- Med venlig hilsen / Kind regards, Mads Jensen

Re: Window expressions, #26608

2017-02-24 Thread Mads Jensen
e point (I spent quite a lot of time on this, so I want to see it merged) :) > Cheers -- Med venlig hilsen / Kind regards, Mads Jensen Saajan Fernandes: I think we forget things if there is nobody to tell them. -- The Lunchbox (2013) -- You received this

Re: Window expressions, #26608

2017-02-20 Thread Mads Jensen
I hit somewhat of a wall, and would like some input/help. * Import of window functions from `django.db.model.functions` seems to be the convention - `DEFAULT_INDEX_TABLESPACE` causes some headaches, because of XField being explicitly set in _output_field variable. Probably the functions

Re: CITextField base class

2017-02-09 Thread Mads Jensen
I had the use case for shorter text strings in mind when I did the PR. https://github.com/atombrella/django/commit/ae8fe50f34329cbc969c5ac5bd368efd5b42b177 <- would this be a better approach? On Wednesday, February 8, 2017 at 6:09:26 PM UTC+1, Tim Graham wrote: > > I thought the mixin idea was

Re: CITextField base class

2017-02-08 Thread Mads Jensen
On Wednesday, February 8, 2017 at 11:32:22 AM UTC+1, Adam Johnson wrote: > > Sounds legit, make a ticket > Shouldn't https://code.djangoproject.com/ticket/26610 just be reopened? > On 8 February 2017 at 00:37, Sean Brant > wrote: > >> I noticed the new postgres

Re: Window expressions, #26608

2017-01-02 Thread Mads Jensen
I think this has cleaned up to request input (I'm a bit zealous to make something that will be merged). I left a note in 1.11.txt but when 2.0.txt is introduced, I'll move it there. Also, now everything is in places that are not PostgreSQL-only. I realized in the process that the only thing

Re: Window expressions, #26608

2016-11-30 Thread Mads Jensen
On Tuesday, November 29, 2016 at 11:04:49 PM UTC+1, Josh Smeaton wrote: > > Adam, are you thinking we should be adding something like > Model.objects.window(), or just allowing Window-type expressions on > backends that have a specific feature flag? Does the compiler need to get > involved at

Re: Window expressions, #26608

2016-11-30 Thread Mads Jensen
On Tuesday, November 29, 2016 at 10:35:34 PM UTC+1, Adam Johnson wrote: > > As to your point 1: > > >> Since this is specific to postgres > > > Well, Window expressions aren't specific to Postgres: > >- They exist in Oracle >- They exist in MariaDB 10.2 which is in beta and will be GA

Re: Window expressions, #26608

2016-11-29 Thread Mads Jensen
On Saturday, November 26, 2016 at 1:51:05 AM UTC+1, Josh Smeaton wrote: > > OrderBy takes an expression - it doesn't have to be a single column. For > example, this is valid: > > (Lower('last_name') + Lower('first_name)).desc() == > OrderBy(Lower('last_name') + Lower('first_name),

Re: Window expressions, #26608

2016-11-25 Thread Mads Jensen
On Tuesday, November 22, 2016 at 11:50:17 PM UTC+1, Josh Smeaton wrote: > Thanks for picking this up. I've been wondering if Window expressions > would be possible, and what limitations we might have to make based on our > ORM. > I was fortunate that the reporter posted a snippet to work from

Window expressions, #26608

2016-11-22 Thread Mads Jensen
internals (it's fun and educational hacking on them), and it took me some time to read through the code and documentation for the ORM, and there are many facets of it I can still understand. If someone is willing to guide me a bit, I'd be quite helpful. Thank you. -- Med venlig hilsen / Kind reg

MariaDB, official support

2016-11-14 Thread Mads Jensen
is, and was told it's ad-hoc. Also, the test environment does include MariaDB which to me would make sense to add. I think the implemented features for MySQL is also available for MariaDB. I know the existence of django-mysql. -- Med venlig hilsen / Kind regards, Mads Jensen Saajan