Re: .net decimal -> Ignite is being stored as Other

2018-09-18 Thread wayne theron
Thanks, I was then incorrectly told to come here.

On 18 Sep 2018, 17:21, at 17:21, Dmitriy Pavlov  wrote:
>Let me explain. User list intented for user and developers
>communication.
>Igniters monitor user list. And why should we hide answers to this
>issue
>from other users?
>
>The dev. list related to contribution-related questions. For example,
>if
>someone has PR fixing issue in the product. So he or she will use dev.
>list.
>
>In this example case too deep technical question about how to make a
>contribution as perfect as possible is not interesting for users.
>
>Hope it makes sense for you.
>
>вт, 18 сент. 2018 г. в 19:11, wayne theron :
>
>> Is this not the ignite dev user forum. I am programming tables in
>ignite
>> so why do I need to go there when they always tell me to come here
>for dev
>> related questions?
>>
>> The issue is code and likely ignites ability to map. Net decimal to
>java
>> big decimal. I really don't think the user group is the place to ask,
>> really?
>>
>>
>>
>> On 18 Sep 2018, 16:55, at 16:55, Dmitriy Pavlov
>
>> wrote:
>> >Hi, is it related to some contribution? If not, I propose
>> >u...@ignite.apache.org as a better place to ask.
>> >
>> >вт, 18 сент. 2018 г. в 18:43, wt :
>> >
>> >> i have the following class
>> >>
>> >> [QuerySqlField]
>> >> public int vd { get; set; }
>> >> [QuerySqlField]
>> >> public long sharesinindex { get; set; }
>> >> [QuerySqlField]
>> >> public string name { get; set; }
>> >> [QuerySqlField]
>> >> public string isin { get; set; }
>> >> [QuerySqlField]
>> >> public string sedol { get; set; }
>> >> [QuerySqlField]
>> >> public string ric { get; set; }
>> >> [QuerySqlField]
>> >> public decimal close { get; set; }
>> >> [QuerySqlField]
>> >> public decimal rate { get; set; }
>> >>
>> >> when i configure ignite with this class in .net and start the
>server
>> >it
>> >> correctly sets all the other fields just not the decimals. The
>> >> documentation
>> >> states
>> >>
>> >> DECIMAL
>> >> Possible values: Data type with fixed precision and scale.
>> >>
>> >> Mapped to:
>> >>
>> >> Java/JDBC: java.math.BigDecimal
>> >> .NET/C#: decimal
>> >> C/C++: ignite::Decimal
>> >> ODBC: SQL_DECIMAL
>> >>
>> >>
>> >> Why is Ignite not mapping this correctly ->  tables.png
>> >> <
>> >>
>> >
>>
>http://apache-ignite-developers.2346864.n4.nabble.com/file/t604/tables.png
>> >
>> >>
>> >>
>> >>
>> >> here is the config
>> >>
>> >> var cfg = new IgniteConfiguration
>> >> {
>> >> DiscoverySpi = new TcpDiscoverySpi
>> >> {
>> >> IpFinder = new TcpDiscoveryStaticIpFinder
>> >> {
>> >> Endpoints = new[] {
>"127.0.0.1:47500..47509"
>> >}
>> >> },
>> >> SocketTimeout = TimeSpan.FromSeconds(0.3)
>> >> },
>> >> CacheConfiguration = new[]
>> >> {
>> >> new CacheConfiguration("IndexComposition")
>> >> {
>> >> SqlSchema = "IndexComposition",CacheMode =
>> >> CacheMode.Replicated,
>> >> QueryEntities = new []
>> >> {
>> >> new
>> >> QueryEntity(typeof(int),typeof(IndexComposition))
>> >> }
>> >> }
>> >> }
>> >>
>> >> };
>> >>
>> >>
>> >>
>> >> --
>> >> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>> >>
>>


Re: .net decimal -> Ignite is being stored as Other

2018-09-18 Thread Dmitriy Pavlov
Let me explain. User list intented for user and developers communication.
Igniters monitor user list. And why should we hide answers to this issue
from other users?

The dev. list related to contribution-related questions. For example, if
someone has PR fixing issue in the product. So he or she will use dev.
list.

In this example case too deep technical question about how to make a
contribution as perfect as possible is not interesting for users.

Hope it makes sense for you.

вт, 18 сент. 2018 г. в 19:11, wayne theron :

> Is this not the ignite dev user forum. I am programming tables in ignite
> so why do I need to go there when they always tell me to come here for dev
> related questions?
>
> The issue is code and likely ignites ability to map. Net decimal to java
> big decimal. I really don't think the user group is the place to ask,
> really?
>
>
>
> On 18 Sep 2018, 16:55, at 16:55, Dmitriy Pavlov 
> wrote:
> >Hi, is it related to some contribution? If not, I propose
> >u...@ignite.apache.org as a better place to ask.
> >
> >вт, 18 сент. 2018 г. в 18:43, wt :
> >
> >> i have the following class
> >>
> >> [QuerySqlField]
> >> public int vd { get; set; }
> >> [QuerySqlField]
> >> public long sharesinindex { get; set; }
> >> [QuerySqlField]
> >> public string name { get; set; }
> >> [QuerySqlField]
> >> public string isin { get; set; }
> >> [QuerySqlField]
> >> public string sedol { get; set; }
> >> [QuerySqlField]
> >> public string ric { get; set; }
> >> [QuerySqlField]
> >> public decimal close { get; set; }
> >> [QuerySqlField]
> >> public decimal rate { get; set; }
> >>
> >> when i configure ignite with this class in .net and start the server
> >it
> >> correctly sets all the other fields just not the decimals. The
> >> documentation
> >> states
> >>
> >> DECIMAL
> >> Possible values: Data type with fixed precision and scale.
> >>
> >> Mapped to:
> >>
> >> Java/JDBC: java.math.BigDecimal
> >> .NET/C#: decimal
> >> C/C++: ignite::Decimal
> >> ODBC: SQL_DECIMAL
> >>
> >>
> >> Why is Ignite not mapping this correctly ->  tables.png
> >> <
> >>
> >
> http://apache-ignite-developers.2346864.n4.nabble.com/file/t604/tables.png
> >
> >>
> >>
> >>
> >> here is the config
> >>
> >> var cfg = new IgniteConfiguration
> >> {
> >> DiscoverySpi = new TcpDiscoverySpi
> >> {
> >> IpFinder = new TcpDiscoveryStaticIpFinder
> >> {
> >> Endpoints = new[] { "127.0.0.1:47500..47509"
> >}
> >> },
> >> SocketTimeout = TimeSpan.FromSeconds(0.3)
> >> },
> >> CacheConfiguration = new[]
> >> {
> >> new CacheConfiguration("IndexComposition")
> >> {
> >> SqlSchema = "IndexComposition",CacheMode =
> >> CacheMode.Replicated,
> >> QueryEntities = new []
> >> {
> >> new
> >> QueryEntity(typeof(int),typeof(IndexComposition))
> >> }
> >> }
> >> }
> >>
> >> };
> >>
> >>
> >>
> >> --
> >> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
> >>
>


Re: .net decimal -> Ignite is being stored as Other

2018-09-18 Thread wayne theron
Is this not the ignite dev user forum. I am programming tables in ignite so why 
do I need to go there when they always tell me to come here for dev related 
questions?

The issue is code and likely ignites ability to map. Net decimal to java big 
decimal. I really don't think the user group is the place to ask, really?



On 18 Sep 2018, 16:55, at 16:55, Dmitriy Pavlov  wrote:
>Hi, is it related to some contribution? If not, I propose
>u...@ignite.apache.org as a better place to ask.
>
>вт, 18 сент. 2018 г. в 18:43, wt :
>
>> i have the following class
>>
>> [QuerySqlField]
>> public int vd { get; set; }
>> [QuerySqlField]
>> public long sharesinindex { get; set; }
>> [QuerySqlField]
>> public string name { get; set; }
>> [QuerySqlField]
>> public string isin { get; set; }
>> [QuerySqlField]
>> public string sedol { get; set; }
>> [QuerySqlField]
>> public string ric { get; set; }
>> [QuerySqlField]
>> public decimal close { get; set; }
>> [QuerySqlField]
>> public decimal rate { get; set; }
>>
>> when i configure ignite with this class in .net and start the server
>it
>> correctly sets all the other fields just not the decimals. The
>> documentation
>> states
>>
>> DECIMAL
>> Possible values: Data type with fixed precision and scale.
>>
>> Mapped to:
>>
>> Java/JDBC: java.math.BigDecimal
>> .NET/C#: decimal
>> C/C++: ignite::Decimal
>> ODBC: SQL_DECIMAL
>>
>>
>> Why is Ignite not mapping this correctly ->  tables.png
>> <
>>
>http://apache-ignite-developers.2346864.n4.nabble.com/file/t604/tables.png>
>>
>>
>>
>> here is the config
>>
>> var cfg = new IgniteConfiguration
>> {
>> DiscoverySpi = new TcpDiscoverySpi
>> {
>> IpFinder = new TcpDiscoveryStaticIpFinder
>> {
>> Endpoints = new[] { "127.0.0.1:47500..47509"
>}
>> },
>> SocketTimeout = TimeSpan.FromSeconds(0.3)
>> },
>> CacheConfiguration = new[]
>> {
>> new CacheConfiguration("IndexComposition")
>> {
>> SqlSchema = "IndexComposition",CacheMode =
>> CacheMode.Replicated,
>> QueryEntities = new []
>> {
>> new
>> QueryEntity(typeof(int),typeof(IndexComposition))
>> }
>> }
>> }
>>
>> };
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>>


Re: .net decimal -> Ignite is being stored as Other

2018-09-18 Thread Dmitriy Pavlov
Hi, is it related to some contribution? If not, I propose
u...@ignite.apache.org as a better place to ask.

вт, 18 сент. 2018 г. в 18:43, wt :

> i have the following class
>
> [QuerySqlField]
> public int vd { get; set; }
> [QuerySqlField]
> public long sharesinindex { get; set; }
> [QuerySqlField]
> public string name { get; set; }
> [QuerySqlField]
> public string isin { get; set; }
> [QuerySqlField]
> public string sedol { get; set; }
> [QuerySqlField]
> public string ric { get; set; }
> [QuerySqlField]
> public decimal close { get; set; }
> [QuerySqlField]
> public decimal rate { get; set; }
>
> when i configure ignite with this class in .net and start the server it
> correctly sets all the other fields just not the decimals. The
> documentation
> states
>
> DECIMAL
> Possible values: Data type with fixed precision and scale.
>
> Mapped to:
>
> Java/JDBC: java.math.BigDecimal
> .NET/C#: decimal
> C/C++: ignite::Decimal
> ODBC: SQL_DECIMAL
>
>
> Why is Ignite not mapping this correctly ->  tables.png
> <
> http://apache-ignite-developers.2346864.n4.nabble.com/file/t604/tables.png>
>
>
>
> here is the config
>
> var cfg = new IgniteConfiguration
> {
> DiscoverySpi = new TcpDiscoverySpi
> {
> IpFinder = new TcpDiscoveryStaticIpFinder
> {
> Endpoints = new[] { "127.0.0.1:47500..47509" }
> },
> SocketTimeout = TimeSpan.FromSeconds(0.3)
> },
> CacheConfiguration = new[]
> {
> new CacheConfiguration("IndexComposition")
> {
> SqlSchema = "IndexComposition",CacheMode =
> CacheMode.Replicated,
> QueryEntities = new []
> {
> new
> QueryEntity(typeof(int),typeof(IndexComposition))
> }
> }
> }
>
> };
>
>
>
> --
> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>


.net decimal -> Ignite is being stored as Other

2018-09-18 Thread wt
i have the following class

[QuerySqlField]
public int vd { get; set; }
[QuerySqlField]
public long sharesinindex { get; set; }
[QuerySqlField]
public string name { get; set; }
[QuerySqlField]
public string isin { get; set; }
[QuerySqlField]
public string sedol { get; set; }
[QuerySqlField]
public string ric { get; set; }
[QuerySqlField]
public decimal close { get; set; }
[QuerySqlField]
public decimal rate { get; set; }

when i configure ignite with this class in .net and start the server it
correctly sets all the other fields just not the decimals. The documentation
states

DECIMAL
Possible values: Data type with fixed precision and scale.

Mapped to:

Java/JDBC: java.math.BigDecimal
.NET/C#: decimal
C/C++: ignite::Decimal
ODBC: SQL_DECIMAL


Why is Ignite not mapping this correctly ->  tables.png
  


here is the config

var cfg = new IgniteConfiguration
{
DiscoverySpi = new TcpDiscoverySpi
{
IpFinder = new TcpDiscoveryStaticIpFinder
{
Endpoints = new[] { "127.0.0.1:47500..47509" }
},
SocketTimeout = TimeSpan.FromSeconds(0.3)
},
CacheConfiguration = new[]
{
new CacheConfiguration("IndexComposition")
{
SqlSchema = "IndexComposition",CacheMode =
CacheMode.Replicated,
QueryEntities = new []
{
new
QueryEntity(typeof(int),typeof(IndexComposition))
}
}
}

};



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/