Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # dev - call it Hive-SQL instead of HiveQL ?


+
Thejas Nair 2013-07-03, 01:28
+
Edward Capriolo 2013-07-03, 01:52
Copy link to this message
-
Re: call it Hive-SQL instead of HiveQL ?
Thejas Nair 2013-07-03, 02:19
On Tue, Jul 2, 2013 at 6:52 PM, Edward Capriolo <[EMAIL PROTECTED]> wrote:
> "I see that the hive community intends to make hive SQL compliant and is on
> that path." . I was not under the general impression that we are on that
> path.

Well, whenever we try to decide what the behavior should be, we refer
to what SQL standard says. So I think we are certainly on that path,
and not going the other way.

> Also some SQL operations can not be executed efficiently in map-reduce and
> should IMHO not be added to the language. IE if doing the operation means
> all data must be shuffled to a single reducer its not something hive should
> do.

Which SQL feature you are talking about here, that forces single
reducer and hence should not be supported?
But I agree in general that it does not make sense for hive to support
ALL sql features. For example, supporting all the transaction
semantics or updating a single row in a table does not make sense.

So I don't expect hive to be 100% sql complaint, but when we add new
features, we always aim to be as compliant with SQL as possible. I
think we should convey this to our users.

Using the term HiveQL conveys the wrong idea. But calling it SQL not a
lie, considering how much other databases deviate from the standard -
http://troels.arvin.dk/db/rdbms/ . See how much deviation is there for
example in  'limit clause' or the data types supported (and details of
data type support) -
http://troels.arvin.dk/db/rdbms/#select-limit-simple .

> I do not think hive should be mis-representing itself. Simply put, hive is
> NOT SQL complaint we should NOT call the language SQL.

I think calling it HIVE-SQL conveys the idea very well.
> Doing so would only only lead to confusion for people new to the project.
> Imagine you are new to hive:
> You read "SQL"in the documentation.
> You run an "SQL" standard create table query, it fails.

See the above page. Any given SQL "standard" create table query is not
guaranteed to work in most of the widely used commercial "SQL"
databases.
+
Edward Capriolo 2013-07-03, 03:39
+
Thejas Nair 2013-07-03, 07:26
+
Edward Capriolo 2013-07-03, 19:25
+
Thejas Nair 2013-07-03, 19:39
+
Alan Gates 2013-07-03, 18:59