Guys,
We need to look at 3 cases:
a) key is just one field
b) key is multiple fields
c) key is one or multiple fields, with possibility of an alternate affinity
key
For (a) and (b), whenever a type is defined in XML, and further in DML, a
user will specify which fields are part of the key. In
Let me show the picture I have in my mind:
Primary key is a must for all INSERT and MERGE operations. If it’s not set then
an INSERT/MERGE fails.
If a primary key is a boxed/unboxed primitive (int, Integer, String, Date,
etc.) then the key value is used for hashCode calculation. At the same
Also MERGE.
2016-09-29 2:10 GMT+03:00 Denis Magda :
> You need a hash code only for INSERT operation, right?
>
> —
> Denis
>
>> On Sep 28, 2016, at 3:47 PM, Alexander Paschenko
>> wrote:
>>
>> But what if the user works from some kind of
You need a hash code only for INSERT operation, right?
—
Denis
> On Sep 28, 2016, at 3:47 PM, Alexander Paschenko
> wrote:
>
> But what if the user works from some kind of console and just types
> the queries as text in full and does not bind params via JDBC
Valentin Kulichenko created IGNITE-3999:
---
Summary: Support case insensitive search in SQL
Key: IGNITE-3999
URL: https://issues.apache.org/jira/browse/IGNITE-3999
Project: Ignite
Issue
But what if the user works from some kind of console and just types
the queries as text in full and does not bind params via JDBC or
something alike? What if there's no binary object? I don't see why we
should keep the user from usual cache gets in this case. I really like
the idea of supplying
Hmm, this is a good question.
If a user doesn’t provide a _key when an INSERT is executed for me it means
that he is not going to use the key later for cache.get/put, DELETE, UPDATE and
other possible operation simply because he doesn’t know how to reconstruct the
key back in his code. If he
Denis,
That's not what I was asking about.
Currently DML implementation allows for dymanic instantiation of keys,
in other words, user does not have to provide value for object-typed
_key column - instead, he may supply just field values based on which
_key will be dynamically instantiated/binary
Alexander,
As I guess if we have a key without a class then it will be constructed using a
BinaryBuilder instance and it’s user responsibility to set the has code at the
end with BinaryBuilder.hasCode method. Sure, all this cases must be
well-documented in both Java Doc API and Apache Ignite
Dmitry, Denis,
OK, but I think it's necessary to address also the cases when there's
no actual class for the key, and its fields are simply declared in
XML. In this case, there are no fields to be marked transient. What do
we do then? List transient fields in XML separately?
- Alex
2016-09-28
GitHub user iveselovskiy opened a pull request:
https://github.com/apache/ignite/pull/1129
Ignite 3998
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-3998
Alternatively you can review and apply
Ivan Veselovsky created IGNITE-3998:
---
Summary: IGFS: uncomment testCreateConsistencyMultithreaded
Key: IGNITE-3998
URL: https://issues.apache.org/jira/browse/IGNITE-3998
Project: Ignite
Pavel Tupitsyn created IGNITE-3997:
--
Summary: .NET: Readme.io documentation update for 1.8
Key: IGNITE-3997
URL: https://issues.apache.org/jira/browse/IGNITE-3997
Project: Ignite
Issue
Github user asfgit closed the pull request at:
https://github.com/apache/ignite/pull/928
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is
GitHub user ptupitsyn opened a pull request:
https://github.com/apache/ignite/pull/1128
IGNITE-3995 .NET: Fix default cache name in ASP.NET Session-State Store
Provider
You can merge this pull request into a Git repository by running:
$ git pull
Vasilisa Sidorova created IGNITE-3996:
--
Summary: .NET: ASP.NET Output Cache provider run cache with
default "null" name
Key: IGNITE-3996
URL: https://issues.apache.org/jira/browse/IGNITE-3996
Vasilisa Sidorova created IGNITE-3995:
--
Summary: .NET: ASP.NET Session-State Store Provider run cache with
default "null" name
Key: IGNITE-3995
URL: https://issues.apache.org/jira/browse/IGNITE-3995
Vladislav Pyatkov created IGNITE-3994:
-
Summary: Client buffer CacheContinuousQueryEntry on pendingEvts
after reconnect to alive cluster.
Key: IGNITE-3994
URL:
Vladimir Ozerov created IGNITE-3992:
---
Summary: Process failing Hibernate tests.
Key: IGNITE-3992
URL: https://issues.apache.org/jira/browse/IGNITE-3992
Project: Ignite
Issue Type: Sub-task
Vladimir Ozerov created IGNITE-3993:
---
Summary: Process failing client nodes tests.
Key: IGNITE-3993
URL: https://issues.apache.org/jira/browse/IGNITE-3993
Project: Ignite
Issue Type:
Vladimir Ozerov created IGNITE-3991:
---
Summary: Process failing IGFS tests.
Key: IGNITE-3991
URL: https://issues.apache.org/jira/browse/IGNITE-3991
Project: Ignite
Issue Type: Sub-task
Vladimir Ozerov created IGNITE-3990:
---
Summary: Process failing Spring tests.
Key: IGNITE-3990
URL: https://issues.apache.org/jira/browse/IGNITE-3990
Project: Ignite
Issue Type: Sub-task
Vladimir Ozerov created IGNITE-3989:
---
Summary: Process failing JTA tests.
Key: IGNITE-3989
URL: https://issues.apache.org/jira/browse/IGNITE-3989
Project: Ignite
Issue Type: Sub-task
Vladimir Ozerov created IGNITE-3988:
---
Summary: Process failing cloud tests.
Key: IGNITE-3988
URL: https://issues.apache.org/jira/browse/IGNITE-3988
Project: Ignite
Issue Type: Sub-task
Vladimir Ozerov created IGNITE-3987:
---
Summary: ODBC: Improve error output when query parsing failed.
Key: IGNITE-3987
URL: https://issues.apache.org/jira/browse/IGNITE-3987
Project: Ignite
GitHub user sboikov opened a pull request:
https://github.com/apache/ignite/pull/1127
ignite-1.7.2
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-1.7.2
Alternatively you can review and apply these
26 matches
Mail list logo