Activity
From 07/12/2022 to 08/10/2022
08/10/2022
- 05:24 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Igor Skornyakov wrote:
> > I'm ok with your naming convention, though where the mapped data types differ in name for... - 03:12 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Created MariaDB UDFs templates.
Committed to 3821c/14145. - 02:39 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Eric Faulhaber wrote:
> We had a similar issue with H2 and we resolved it by prepending an underscore followed by a ... - 02:06 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- We had a similar issue with H2 and we resolved it by prepending an underscore followed by a unique integer (for that ...
- 01:38 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Igor Skornyakov wrote:
> I've realized that in MariaDB we cannot have two UDFs with the same name but different sign... - 01:24 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- I've realized that in MariaDB we cannot have two UDFs with the same name but different signatures.
This requires cha... - 08:01 AM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- At this moment I see the following plan
# Create an @AWK@ script for automatic conversion of the udfs.sql script for... - 05:10 PM Feature #6371: implement SAVE CACHE statement
- Pushed revision 6371a/14096 with JavaDoc and indexes.
- 01:14 PM Feature #6371: implement SAVE CACHE statement
- If the cost is not high, making an implicit @SAVE CACHE@ call at server startup will make the system more resilient/s...
- 01:11 PM Feature #6371: implement SAVE CACHE statement
- The persistence of the DMOs is a good point. We would want these to load like any other DMOs, if no schema changes ha...
- 12:49 PM Feature #6371: implement SAVE CACHE statement
- Also, I wonder if we should even do this persisting for generated DMOs for dynamic temp-tables (at least if they are ...
- 12:47 PM Feature #6371: implement SAVE CACHE statement
- Another difference from dynamic temp-tables: the generated DMOs must survive server restarts (or must be recreated on...
- 12:35 PM Feature #6371: implement SAVE CACHE statement
- After detecting schema differences, we need to inspect/apply/walk these to generate the correct DMO interfaces. DMO i...
- 11:19 AM Feature #6371: implement SAVE CACHE statement
- Let's go with XML for persisting each "snapshot" state, which will be used for later comparisons. TBD: do we need to ...
08/09/2022
- 05:45 PM Feature #6371: implement SAVE CACHE statement
- XML is more consistent with the rest of the configuration in FWD.
- 04:59 PM Feature #6371: implement SAVE CACHE statement
- I pushed revision 6371a/14095 with code to support comparison for tables and columns. Also, extended the javadoc on t...
- 11:20 AM Feature #6371: implement SAVE CACHE statement
- Eric Faulhaber wrote:
> Boris Schegolev wrote:
> > Saved state will consist of tables, columns and index lists. Thi... - 11:02 AM Feature #6371: implement SAVE CACHE statement
- Eric Faulhaber wrote:
> Boris, please commit all your updates to 6371a. You are the only one changing this branch, s... - 10:56 AM Feature #6371: implement SAVE CACHE statement
- Boris Schegolev wrote:
> Saved state will consist of tables, columns and index lists. This object can be serialized ... - 10:47 AM Feature #6371: implement SAVE CACHE statement
- Boris, please commit all your updates to 6371a. You are the only one changing this branch, so it is safe. This will m...
- 11:55 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- If the JSON array approach seems to be the only viable option, I think we have to use it for now. Another alternative...
08/05/2022
- 02:35 PM Feature #6371: implement SAVE CACHE statement
- Implemented @DatabaseState@ object, @Difference@ object and loading / comparison for tables. Please, review.
- 12:04 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- There is a about a couple of dozens of PostgreSQL native UDFs (~10%) that heavily use arrays and/or user-defined data...
08/04/2022
- 06:18 AM Feature #6348: implement support for MariaDB
- Greg Shah wrote:
> > However supporing word indexes for non-normalized extent fields can be not strightforward.
>
... - 05:50 AM Feature #6348: implement support for MariaDB
- > However supporing word indexes for non-normalized extent fields can be not strightforward.
Is it possible to use... - 12:38 AM Feature #6348: implement support for MariaDB
- Eric Faulhaber wrote:
> Agreed, we should not have logic that begins @if (dialect instanceof *Dialect) ...@.
>
I'... - 10:59 PM Feature #6348: implement support for MariaDB
- Ovidiu Maxiniuc wrote:
> Yes, I noticed that @WordTable@ class and some methods of @DDLGeneratorWorker@ are not full...
08/03/2022
- 04:39 PM Feature #6371: implement SAVE CACHE statement
- Saved state will consist of tables, columns and index lists. This object can be serialized using common methods (YAML...
- 12:41 AM Feature #6371: implement SAVE CACHE statement
- Boris Schegolev wrote:
> I am attaching a proposal for Schema Comparator service. It would be invoked like:
>
> [... - 03:52 PM Feature #6348: implement support for MariaDB
- Yes, I noticed that @WordTable@ class and some methods of @DDLGeneratorWorker@ are not fully dialect independent. The...
- 02:56 PM Feature #6348: implement support for MariaDB
- Please note that @CONTAINS@ (word tables') support for MariaDB will also need some some efforts (we need MariaDB-spec...
- 01:10 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Eric Faulhaber wrote:
> Please see #6348-7. In fact, it would be good to review that whole task.
Thank you, revie... - 12:52 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Please see #6348-7. In fact, it would be good to review that whole task.
- 12:11 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Have we already made a decision about datatypes' mapping for MariaDB?
At this moment the most important for me are s...
08/01/2022
- 03:42 PM Feature #6371: implement SAVE CACHE statement
- I am attaching a proposal for Schema Comparator service. It would be invoked like:...
- 02:32 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Ovidiu Maxiniuc wrote:
> I used the following command:
> [...]
>
> That installed for me:
> [...]
>
> I do n... - 02:22 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- I used the following command:...
- 01:27 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Working with version 10.8.3
- 12:45 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Igor Skornyakov wrote:
> Which version of MariaDB should I work with?
The most recent production build (10.8, AFA... - 04:14 AM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Which version of MariaDB should I work with?
Thank you.
07/31/2022
07/29/2022
- 01:25 AM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Igor Skornyakov wrote:
> I understand that MariaDB does not have arrays
Not as a first class data type, no, but p...
07/27/2022
- 04:02 PM Bug #6599: minimal mode conversion problem with DMO name collision
- Eric, minimal mode conversion was added after I my @NameConverter.java@ change - and conversion was fine, until the r...
- 03:43 PM Bug #6599: minimal mode conversion problem with DMO name collision
- Constantin, it looks like you made this change very early in 6129a (rev 13815), apparently to address cases of confli...
- 06:15 AM Bug #6599: minimal mode conversion problem with DMO name collision
- Eric, can this be fixed? Although is not a problem when running the converted code, this is a problem when executing...
- 03:33 AM Support #4701: try to improve H2 transaction commit performance
- I just noticed that H2 is moving kinda fast with no more than 5 releases in the last couple of months. I can't tell i...
07/25/2022
- 03:56 AM Feature #6582: implement multi-table AdaptiveQuery
- Alexandru Lungu wrote:
> I've done a bit of query exploring. I converted the following example:
>
> [...]
>
> ... - 03:38 AM Feature #6582: implement multi-table AdaptiveQuery
- I've done a bit of query exploring. I converted the following example:...
07/24/2022
- 01:28 PM Feature #6582: implement multi-table AdaptiveQuery
- Alexandru Lungu wrote:
> I was rather thinking if there are implications of @FIRST/LAST@ and @OUTER-JOIN@ when doing... - 06:06 AM Feature #6582: implement multi-table AdaptiveQuery
- Eric Faulhaber wrote:
> The ideal scenario is that we start in preselect (fast) mode and we only ever transition to ... - 05:08 AM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- It looks that in migration of the PostgreSQL native UDFs to MariaDB the most efforts will require those UDFs that use...
07/23/2022
- 01:50 PM Feature #6582: implement multi-table AdaptiveQuery
- As far as I understand the approach described in #6582-9 works with MariaDB 10.2+ as well.
- 07:44 AM Feature #6582: implement multi-table AdaptiveQuery
- Alexandru Lungu wrote:
>Also, I didn't consider yet other aspects as: FIRST/LAST or OUTER-JOIN.
I can suggest the f... - 04:28 AM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Eric Faulhaber wrote:
> Igor, can you think of a way to generate a list of the PostgreSQL built-in functions (includ...
07/22/2022
- 06:07 PM Feature #6630: optimize return of table parameter
- While working on a related issue I noticed the following stack trace:...
- 05:55 PM Feature #6630 (Closed): optimize return of table parameter
- 02:25 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Eric Faulhaber wrote:
> So far, so good...
>
> [...]
Please note the PostreSQL UDF raise both @ERROR@ and @NOT... - 02:20 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- So far, so good......
- 01:06 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Eric Faulhaber wrote:
> Igor, can you think of a way to generate a list of the PostgreSQL built-in functions (includ... - 01:05 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Eric Faulhaber wrote:
> Greg Shah wrote:
>
> > I suspect that error handling will be a problem.
>
> I guess yo... - 01:01 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Eric Faulhaber wrote:
> What are the technical prerequisites a database implementation must have for word index su... - 01:01 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Greg Shah wrote:
> I suspect that error handling will be a problem.
I guess you're right, based on the answers ... - 12:55 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Igor, can you think of a way to generate a list of the PostgreSQL built-in functions (including signatures) upon whic...
- 12:42 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Igor Skornyakov wrote:
> Please note also that it is makes sense to check how the words tables' support can be porte... - 12:40 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Looping in SQL can be simulated using "Common Table Expressions":https://en.wikipedia.org/wiki/Hierarchical_and_recur...
- 12:24 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- Please note also that it is makes sense to check how the words tables' support can be ported to MariaDB.
- 12:11 PM Feature #6628: port PostgreSQL native user defined functions to MariaDB
- We need a robust library of UDFs for MariaDB to represent 4GL built-in functions used in WHERE clauses, which referen...
- 11:50 AM Feature #6628 (WIP): port PostgreSQL native user defined functions to MariaDB
- 12:07 PM Feature #6348: implement support for MariaDB
- Greg Shah wrote:
> > Greg: I know Roger was keeping the documentation/license project up-to-date, but is there a wik... - 07:50 AM Feature #6348: implement support for MariaDB
- > Greg: I know Roger was keeping the documentation/license project up-to-date, but is there a wiki with the steps nee...
- 04:00 AM Feature #6348: implement support for MariaDB
- With 3821c/14095 change of build.gradle, this was added:...
- 11:46 AM Feature #6582: implement multi-table AdaptiveQuery
- Alexandru Lungu wrote:
> I got the time to familiarize myself with @AdaptiveQuery@. I understood the motivation for ... - 10:41 AM Feature #6582: implement multi-table AdaptiveQuery
- I got the time to familiarize myself with @AdaptiveQuery@. I understood the motivation for the "adaptive" part, but n...
- 10:07 AM Feature #6582: implement multi-table AdaptiveQuery
- Alexandru Lungu wrote:
> Eric Faulhaber wrote:
> > Alexandru, please review the existing @AdaptiveQuery@ implementa...
07/20/2022
- 07:53 PM Feature #6348: implement support for MariaDB
- A first revision of FWD with partial support for MariaDb dialect was committed in 14095:
* the build script will fet... - 08:20 PM Feature #6348: implement support for MariaDB
- Some observations on data types resulted from the attempt to create a (partial) database from generated DDL for Maria...
- 04:51 AM Bug #6577 (Review): move RecordBuffer.ooFields at the DMO meta
- 3821c/14090 - RecordBuffer instance fields can not be accessed directly from static methods - their getter must be us...
07/19/2022
- 03:20 PM Feature #6418: represent extent fields as arrays
- Downsides of the JSON approach:
* The syntax is pretty messy since you have to use functions to access/set element... - 01:57 PM Feature #6418: represent extent fields as arrays
- Eric Faulhaber wrote:
> AFAICT, MariaDB offers no native array data type which can be assigned to a column. The re... - 12:55 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Greg Shah wrote:
> This is a reasonable restriction. Let's just make sure the limitation is clearly documented.
I a... - 11:53 AM Feature #6584 (Review): implement schema hint which generates a POJO in addition to a DMO interface
- Greg Shah wrote:
> I made some minor edits to the doc. Please review.
Thank you for your contribution. I moved t... - 08:41 AM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- I made some minor edits to the doc. Please review.
- 08:36 AM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- I took a quick look at the docs. It looks good. Please move it to here:
"Using POJOs for Database Entities":/pro... - 09:14 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- The documentation can be found at:
https://proj.goldencode.com/projects/timco/wiki/POJOs_-_Tutorial#section-8
I c...
07/18/2022
- 02:30 PM Feature #6371: implement SAVE CACHE statement
- Constantin Asofiei wrote:
> There is a compile error in 3821c/14083:
> [...]
>
> Boris: when committing somethin... - 09:50 AM Feature #6371: implement SAVE CACHE statement
- There is a compile error in 3821c/14083:...
- 12:28 PM Bug #5673: Additional support for INDEXED REPOSITION open query attribute
- The issue which required support for @INDEXED-REPOSITION@ was using a @REPOSITION-TO-ROWID@. I can't recall if this w...
- 04:59 AM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- In 3821c/14082 I've added support for Java enums and, if there is no FWD serializer registered for the given type, de...
07/16/2022
- 05:49 PM Feature #6348 (WIP): implement support for MariaDB
- Started adding support for the new database by implementation of the @MariaDbDialect.java@. On Monday I will continue...
07/15/2022
- 03:35 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Constantin,
I know you worked with JSON probably more than any of us. Do you have an API which serialize a POJOs an... - 01:38 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- I committed the (final ?) version of the POJO/DMO marshalling solution. Revision is 14075.
To summarize:
* the PO... - 09:13 AM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Constantin Asofiei wrote:
> I don't think is OK to be using the SQL types:
> * date/datetime/datetime-tz should all... - 12:14 AM Feature #6574 (Closed): auto-detect native UDFs at server startup and install them if missing
- The changes in 3821c/14066 look good.
Note: to ensure missing native UDFs are installed, entries for @admin_userna...
07/14/2022
- 07:23 PM Feature #6371: implement SAVE CACHE statement
- Code review @6371.diff@:
The changes seem fine; looks like general code cleanup. Assuming they compile (I didn't a... - 03:59 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- I already committed the same fix (r14069).
Notice that, for the moment, the POJOs are not supported for temp datab... - 03:55 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Eric Faulhaber wrote:
> Ovidiu, I'm running a customer application (unrelated to this task). I launched a program wh... - 03:09 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Eric Faulhaber wrote:
> Ovidiu Maxiniuc wrote:
>
> > Are there other concerns about the types or generally about ... - 03:06 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Ovidiu, I'm running a customer application (unrelated to this task). I launched a program which tries to register a t...
- 02:05 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Ovidiu Maxiniuc wrote:
> Are there other concerns about the types or generally about the implementation itself?
... - 01:46 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- This was my initial solution, where I tried to keep the same data types from FWD @Record@ (see #6584-15).
I will add... - 01:35 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- I don't think is OK to be using the SQL types:
* date/datetime/datetime-tz should all map to @java.util.GregorianCal... - 01:23 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Constantin, here it is. First the @.df@ content: {{collapse("tm-all" table)...
- 01:59 AM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Ovidiu, please post the POJO for a table which has extent fields, blob, clob, etc (all data types).
- 09:46 PM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Support for converting to/from POJOs was committed as r14064.
There are no hints (for the moment). The only way to... - 11:53 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- BTW: I think that right way to re-work @ScriptRunner@ for more dialects is to create its dialect-specific versions in...
- 11:39 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- Eric Faulhaber wrote:
> Right, so let's just go with the additional comments for now, to make that refactoring easie... - 11:05 AM Feature #6574 (Review): auto-detect native UDFs at server startup and install them if missing
- Right, so let's just go with the additional comments for now, to make that refactoring easier as we add UDF support i...
- 11:01 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- Eric Faulhaber wrote:
> Code review @missing-udf.diff@:
>
> It seems this should work.
>
> Please note we will... - 10:43 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- Code review @missing-udf.diff@:
It seems this should work.
Please note we will have to support this feature for... - 06:16 AM Bug #6599: minimal mode conversion problem with DMO name collision
- After the 6129a rebase, a table named "property" no longer converts as @property@ when @conversion="minimal"@ is set ...
- 06:10 AM Bug #6599 (New): minimal mode conversion problem with DMO name collision
07/13/2022
- 03:14 PM Feature #6371 (WIP): implement SAVE CACHE statement
- Boris Schegolev wrote (in email):
> My only question at the moment is how to simulate the desired state. I guess I...
07/12/2022
- 02:38 PM Bug #6591: DMO collisions with converted program/legacy class name or FWD classes
- If not too late, I think we can slightly adjust the DMO name using hints.
- 07:14 AM Bug #6591 (WIP): DMO collisions with converted program/legacy class name or FWD classes
- The the DMO collisions with converted Java class name is already solved by appending the @Program@ suffix (although t...
- 06:40 AM Bug #6591: DMO collisions with converted program/legacy class name or FWD classes
- In 3821c, there was a change which solved a camel-case issue - legacy tables names like @SomeTableName@ were converte...
- 06:29 AM Bug #6591 (WIP): DMO collisions with converted program/legacy class name or FWD classes
- 12:00 PM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- Done. Please review.
Thank you. - 09:54 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- > This makes sense. We could add an @admin_username@ and @admin_password@ in the @.../database/<database_name>/orm/co...
- 09:53 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- Igor Skornyakov wrote:
> Another problem is with creation of the @udf@ schema. The @create schema if not exists udf@... - 09:49 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- Igor Skornyakov wrote:
> There is a problem with "on the fly" creation of native UDFs.
> Many of them a declared as... - 08:14 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- Another problem is with creation of the @udf@ schema. The @create schema if not exists udf@ statament also can be exe...
- 07:48 AM Feature #6574: auto-detect native UDFs at server startup and install them if missing
- There is a problem with "on the fly" creation of native UDFs.
Many of them a declared as "leakproof" but such UDFs c... - 11:05 AM Feature #6348: implement support for MariaDB
- Ovidiu Maxiniuc wrote:
> It has a PL language somewhat similar to PSQL.
I followed the CREATE FUNCTION doc link y... - 09:26 AM Feature #6582 (WIP): implement multi-table AdaptiveQuery
- Eric Faulhaber wrote:
> Alexandru, please review the existing @AdaptiveQuery@ implementation and consider how we mig... - 09:24 AM Feature #6582: implement multi-table AdaptiveQuery
- Alexandru, please review the existing @AdaptiveQuery@ implementation and consider how we might go about extending/rew...
- 07:16 AM Feature #6584: implement schema hint which generates a POJO in addition to a DMO interface
- Even if we want to allow for only a subset of the DMOs to get POJOs, we should make it easy to generate POJOs for all...
Also available in: Atom