cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

sql: Move structured code to sql directory

Open vivekmenezes opened this issue 11 years ago • 7 comments

vivekmenezes avatar Aug 03 '15 20:08 vivekmenezes

I'm not sure we should do this. The separation doesn't hurt anything, and there's nothing SQL-specific in structured AFAIK.

tamird avatar Aug 04 '15 14:08 tamird

well, that's not entirely true. descriptors are starting to have parser.* stuff in them, mostly for permissions. There will probably be more and more too.

mberhault avatar Aug 04 '15 14:08 mberhault

That might be a reason to move permissions into sql.

tamird avatar Aug 04 '15 14:08 tamird

well, there is very little in structured at the moment. Perhaps there is value to moving stuff from sql into structured. But, I think we should just kill it for now, and recreate it at a later time when we know we want to create a structured-API.

On Tue, Aug 4, 2015 at 10:37 AM Tamir Duberstein [email protected] wrote:

That might be a reason to move permissions into sql.

— Reply to this email directly or view it on GitHub https://github.com/cockroachdb/cockroach/issues/1917#issuecomment-127634681 .

vivekmenezes avatar Aug 04 '15 17:08 vivekmenezes

While the separation between sql and structured doesn't particular hurt, it also isn't providing any benefit. I'm mildly in favor of this change for the simplification.

petermattis avatar Aug 05 '15 03:08 petermattis

@MBerhault We talked about doing this move earlier this week. Care to take it on?

petermattis avatar Aug 14 '15 14:08 petermattis

that's my next step, just waiting to merge that damn privilege thing.

mberhault avatar Aug 14 '15 14:08 mberhault