You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@incubator.apache.org by Ulrich Stärk <ul...@apache.org> on 2016/02/20 20:06:17 UTC

GSoC 2016

Hi Incubator,

it seems my announcement about this years' Google Summer of Code hasn't made it to all of you.

The short version is:

- The Apache Software Foundation applied as an organization for GSoC 2016. If we are accepted we
will be assigned a number of slots which will be allocated towards the best proposals we receive
from students
- At the moment all you need to do is label your ideas for GSoC in JIRA with 'gsoc2016' and
subscribe to mentors@community.apache.org

Incubator PMC and mentors:

I see my original email hit the incubator private list but apparently didn't reach all podlings
despite me explicitly asking to forward it. Please do so now.

Cheers,

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Fwd: GSoC 2016

Posted by Sravya Tirukkovalur <sr...@apache.org>.
FYI


---------- Forwarded message ----------
From: Ulrich Stärk <ul...@apache.org>
Date: Sat, Feb 20, 2016 at 11:06 AM
Subject: GSoC 2016
To: general@incubator.apache.org
Cc: private@incubator.apache.org


Hi Incubator,

it seems my announcement about this years' Google Summer of Code
hasn't made it to all of you.

The short version is:

- The Apache Software Foundation applied as an organization for GSoC
2016. If we are accepted we
will be assigned a number of slots which will be allocated towards the
best proposals we receive
from students
- At the moment all you need to do is label your ideas for GSoC in
JIRA with 'gsoc2016' and
subscribe to mentors@community.apache.org

Incubator PMC and mentors:

I see my original email hit the incubator private list but apparently
didn't reach all podlings
despite me explicitly asking to forward it. Please do so now.

Cheers,

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org

Re: GSoC 2016

Posted by Andrea Turli <an...@cloudsoftcorp.com>.
Hi,

I've added a GSoC2016 jira task for Apache Brooklyn
https://issues.apache.org/jira/browse/BROOKLYN-255

I've also asked Brooklyn PMC to acknowledge my request to be a mentor. As
part of that PMC I'd appreciate some help in doing that acknowledgement as
none of us did that before.

Can you help?

Thanks,
Andrea

On 20 February 2016 at 20:06, Ulrich Stärk <ul...@apache.org> wrote:

> Hi Incubator,
>
> it seems my announcement about this years' Google Summer of Code hasn't
> made it to all of you.
>
> The short version is:
>
> - The Apache Software Foundation applied as an organization for GSoC 2016.
> If we are accepted we
> will be assigned a number of slots which will be allocated towards the
> best proposals we receive
> from students
> - At the moment all you need to do is label your ideas for GSoC in JIRA
> with 'gsoc2016' and
> subscribe to mentors@community.apache.org
>
> Incubator PMC and mentors:
>
> I see my original email hit the incubator private list but apparently
> didn't reach all podlings
> despite me explicitly asking to forward it. Please do so now.
>
> Cheers,
>
> Uli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> For additional commands, e-mail: general-help@incubator.apache.org
>
>

Re: GSoC 2016

Posted by Jesus Camacho Rodriguez <jc...@hortonworks.com>.
I think both ideas are good to benefit from GSoC.

In particular, I proposed Piglet because it can give us a good baseline to test different optimization techniques in the presence of reutilization of intermediary results i.e. Spool operators.

As I am more familiar with Pig, I could create an umbrella JIRA with tasks related to Piglet and see where this leads us. Julian, is there any reference doc where we can see the current status/coverage of Pig in Calcite?

Thanks,
Jesús



On 2/20/16, 8:58 PM, "Julian Hyde" <jh...@apache.org> wrote:

>If joining the GSoC is as simple as labeling some JIRA cases we should
>definitely do it.
>
>Anyone have ideas for tasks? (Jesus suggested Piglet, which I think is
>a good idea.) A reference implementation & TCK for streaming SQL is
>another idea.
>
>Julian
>
>
>
>---------- Forwarded message ----------
>From: Ulrich Stärk <ul...@apache.org>
>Date: Sat, Feb 20, 2016 at 11:06 AM
>Subject: GSoC 2016
>To: general@incubator.apache.org
>Cc: private@incubator.apache.org
>
>
>Hi Incubator,
>
>it seems my announcement about this years' Google Summer of Code
>hasn't made it to all of you.
>
>The short version is:
>
>- The Apache Software Foundation applied as an organization for GSoC
>2016. If we are accepted we
>will be assigned a number of slots which will be allocated towards the
>best proposals we receive
>from students
>- At the moment all you need to do is label your ideas for GSoC in
>JIRA with 'gsoc2016' and
>subscribe to mentors@community.apache.org
>
>Incubator PMC and mentors:
>
>I see my original email hit the incubator private list but apparently
>didn't reach all podlings
>despite me explicitly asking to forward it. Please do so now.
>
>Cheers,
>
>Uli
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
>For additional commands, e-mail: general-help@incubator.apache.org
>

Re: System Columns

Posted by Julian Hyde <jh...@apache.org>.
RelDataType.isNullable() returns true if and only if the type is optional.

> On Feb 22, 2016, at 7:28 PM, Homer <lo...@gmail.com> wrote:
> 
> Julian,
> 
> Thanks for the quick response.
> 
> Sorry but I don't seem to see how I make the column optional.  I am looking at RelDataType and don't see anything that springs out at me.  Am I way off the mark?
> 
> thanks
> 
> On 2016-02-22 06:31 PM, Julian Hyde wrote:
>> I think if you make the column optional the validator will let you omit it from the INSERT. (It’s not really optional, but it has a default value, which is similar.)
>> 
>> And you’ll need to provide a different value for SqlToRelConverter.defaultValueFactory so that the column gets populated with the correct expression. See the changes I made to SqlToRelConverter to fix https://issues.apache.org/jira/browse/CALCITE-505 <https://issues.apache.org/jira/browse/CALCITE-505>.
>> 
>> 
>>> On Feb 22, 2016, at 5:53 PM, Homer <lo...@gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> I am trying to add a system column to my table, lets call it rowid for argument sake and familiarity.
>>> 
>>> I want to be able to do inserts without specifying rowid as it is added only on the way out as a system column
>>> 
>>> So if I do this
>>> 
>>> Add a column called rowid to the metadata about table test
>>> 
>>> then do:
>>> 
>>> INSERT INTO test VALUES(7, 42, 101, 1001, 't', 1.1, 2.2, 'foo', 'real_foo', '2014-12-13 22:23:15', '15:13:14', '1999-09-09', 9, 111.1);
>>> 
>>> I get this
>>> 
>>> org.apache.calcite.sql.validate.SqlValidatorException: Number of INSERT target columns (15) does not equal number of source items (14)
>>> 
>>> As it knows I don't have enough columns as I have added rowid to my metadata about the table.
>>> 
>>> If I don't add the rowid to the metadata I fail when attempting to do a select from the table which includes rowid in the projection.
>>> 
>>> ie:  Select value1, rowid from test;
>>> 
>>> So I am wondering what is the recommended way to deal with system columns in this kind of circumstance.
>>> 
>>> thanks
>> 
> 


Re: System Columns

Posted by Homer <lo...@gmail.com>.
Julian,

Thanks for the quick response.

Sorry but I don't seem to see how I make the column optional.  I am 
looking at RelDataType and don't see anything that springs out at me.  
Am I way off the mark?

thanks

On 2016-02-22 06:31 PM, Julian Hyde wrote:
> I think if you make the column optional the validator will let you omit it from the INSERT. (It’s not really optional, but it has a default value, which is similar.)
>
> And you’ll need to provide a different value for SqlToRelConverter.defaultValueFactory so that the column gets populated with the correct expression. See the changes I made to SqlToRelConverter to fix https://issues.apache.org/jira/browse/CALCITE-505 <https://issues.apache.org/jira/browse/CALCITE-505>.
>
>
>> On Feb 22, 2016, at 5:53 PM, Homer <lo...@gmail.com> wrote:
>>
>> Hi,
>>
>> I am trying to add a system column to my table, lets call it rowid for argument sake and familiarity.
>>
>> I want to be able to do inserts without specifying rowid as it is added only on the way out as a system column
>>
>> So if I do this
>>
>> Add a column called rowid to the metadata about table test
>>
>> then do:
>>
>> INSERT INTO test VALUES(7, 42, 101, 1001, 't', 1.1, 2.2, 'foo', 'real_foo', '2014-12-13 22:23:15', '15:13:14', '1999-09-09', 9, 111.1);
>>
>> I get this
>>
>> org.apache.calcite.sql.validate.SqlValidatorException: Number of INSERT target columns (15) does not equal number of source items (14)
>>
>> As it knows I don't have enough columns as I have added rowid to my metadata about the table.
>>
>> If I don't add the rowid to the metadata I fail when attempting to do a select from the table which includes rowid in the projection.
>>
>> ie:  Select value1, rowid from test;
>>
>> So I am wondering what is the recommended way to deal with system columns in this kind of circumstance.
>>
>> thanks
>


Re: System Columns

Posted by Julian Hyde <jh...@apache.org>.
I think if you make the column optional the validator will let you omit it from the INSERT. (It’s not really optional, but it has a default value, which is similar.)

And you’ll need to provide a different value for SqlToRelConverter.defaultValueFactory so that the column gets populated with the correct expression. See the changes I made to SqlToRelConverter to fix https://issues.apache.org/jira/browse/CALCITE-505 <https://issues.apache.org/jira/browse/CALCITE-505>.


> On Feb 22, 2016, at 5:53 PM, Homer <lo...@gmail.com> wrote:
> 
> Hi,
> 
> I am trying to add a system column to my table, lets call it rowid for argument sake and familiarity.
> 
> I want to be able to do inserts without specifying rowid as it is added only on the way out as a system column
> 
> So if I do this
> 
> Add a column called rowid to the metadata about table test
> 
> then do:
> 
> INSERT INTO test VALUES(7, 42, 101, 1001, 't', 1.1, 2.2, 'foo', 'real_foo', '2014-12-13 22:23:15', '15:13:14', '1999-09-09', 9, 111.1);
> 
> I get this
> 
> org.apache.calcite.sql.validate.SqlValidatorException: Number of INSERT target columns (15) does not equal number of source items (14)
> 
> As it knows I don't have enough columns as I have added rowid to my metadata about the table.
> 
> If I don't add the rowid to the metadata I fail when attempting to do a select from the table which includes rowid in the projection.
> 
> ie:  Select value1, rowid from test;
> 
> So I am wondering what is the recommended way to deal with system columns in this kind of circumstance.
> 
> thanks


System Columns

Posted by Homer <lo...@gmail.com>.
Hi,

I am trying to add a system column to my table, lets call it rowid for 
argument sake and familiarity.

I want to be able to do inserts without specifying rowid as it is added 
only on the way out as a system column

So if I do this

Add a column called rowid to the metadata about table test

then do:

INSERT INTO test VALUES(7, 42, 101, 1001, 't', 1.1, 2.2, 'foo', 
'real_foo', '2014-12-13 22:23:15', '15:13:14', '1999-09-09', 9, 111.1);

I get this

org.apache.calcite.sql.validate.SqlValidatorException: Number of INSERT 
target columns (15) does not equal number of source items (14)

As it knows I don't have enough columns as I have added rowid to my 
metadata about the table.

If I don't add the rowid to the metadata I fail when attempting to do a 
select from the table which includes rowid in the projection.

ie:  Select value1, rowid from test;

So I am wondering what is the recommended way to deal with system 
columns in this kind of circumstance.

thanks

Fwd: GSoC 2016

Posted by Julian Hyde <jh...@apache.org>.
If joining the GSoC is as simple as labeling some JIRA cases we should
definitely do it.

Anyone have ideas for tasks? (Jesus suggested Piglet, which I think is
a good idea.) A reference implementation & TCK for streaming SQL is
another idea.

Julian



---------- Forwarded message ----------
From: Ulrich Stärk <ul...@apache.org>
Date: Sat, Feb 20, 2016 at 11:06 AM
Subject: GSoC 2016
To: general@incubator.apache.org
Cc: private@incubator.apache.org


Hi Incubator,

it seems my announcement about this years' Google Summer of Code
hasn't made it to all of you.

The short version is:

- The Apache Software Foundation applied as an organization for GSoC
2016. If we are accepted we
will be assigned a number of slots which will be allocated towards the
best proposals we receive
from students
- At the moment all you need to do is label your ideas for GSoC in
JIRA with 'gsoc2016' and
subscribe to mentors@community.apache.org

Incubator PMC and mentors:

I see my original email hit the incubator private list but apparently
didn't reach all podlings
despite me explicitly asking to forward it. Please do so now.

Cheers,

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org