You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hawq.apache.org by "Adaryl \"Bob\" Wakefield, MBA" <ad...@hotmail.com> on 2015/11/12 09:09:25 UTC

what is Hawq?

Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog? Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?
B.

Re: what is Hawq?

Posted by Lei Chang <ch...@gmail.com>.
Hi Bob,

In HAWQ, we use MVCC for transactions, and writes does not disturb read.
And more information around the implementation can be found in the paper we
published:

[1] Lei Chang et al: HAWQ: a massively parallel processing SQL engine in
hadoop
<https://github.com/changleicn/publications/raw/master/hawq-sigmod-2014.pdf>.
SIGMOD Conference 2014: 1223-1234

And I think HAWQ is a good fit your real time analytics use case.

Cheers
Lei



On Fri, Nov 13, 2015 at 9:41 AM, Adaryl "Bob" Wakefield, MBA <
adaryl.wakefield@hotmail.com> wrote:

> So what I’ve been looking for is  a low cost high performance distributed
> relational database. I’ve looked at in memory database but all those guys
> seem to be optimized for a transactional use case. I work in a world where
> I want to deliver real time analytics. I want to be able to hammer the
> warehouse with writes while not disturbing reads. There is one buzz term I
> didn’t see in here: Mulit version concurrency control.
>
> In the early years of my career, I would design databases without
> enforcing referential integrity leaving that up to the application. Having
> worked for years and seeing what people do to databases, I would be
> concerned about implementing something where a check on users has been
> removed.
>
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>
> *From:* Lei Chang <ch...@gmail.com>
> *Sent:* Thursday, November 12, 2015 2:25 AM
> *To:* user@hawq.incubator.apache.org
> *Subject:* Re: what is Hawq?
>
>
> Hi Bob,
>
>
> Apache HAWQ is a Hadoop native SQL query engine that combines the key
> technological advantages of MPP database with the scalability and
> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
> natively. HAWQ delivers industry-leading performance and linear
> scalability. It provides users the tools to confidently and successfully
> interact with petabyte range data sets. HAWQ provides users with a
> complete, standards compliant SQL interface. More specifically, HAWQ has
> the following features:
>
>    - On-premise or cloud deployment
>    - Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
>    - Extremely high performance. many times faster than other Hadoop SQL
>    engine.
>    - World-class parallel optimizer
>    - Full transaction capability and consistency guarantee: ACID
>    - Dynamic data flow engine through high speed UDP based interconnect
>    - Elastic execution engine based on virtual segment & data locality
>    - Support multiple level partitioning and List/Range based partitioned
>    tables.
>    - Multiple compression method support: snappy, gzip, quicklz, RLE
>    - Multi-language user defined function support: python, perl, java,
>    c/c++, R
>    - Advanced machine learning and data mining functionalities through
>    MADLib
>    - Dynamic node expansion: in seconds
>    - Most advanced three level resource management: Integrate with YARN
>    and hierarchical resource queues.
>    - Easy access of all HDFS data and external system data (for example,
>    HBase)
>    - Hadoop Native: from storage (HDFS), resource management (YARN) to
>    deployment (Ambari).
>    - Authentication & Granular authorization: Kerberos, SSL and role
>    based access
>    - Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
>    - Support most third party tools: Tableau, SAS et al.
>    - Standard connectivity: JDBC/ODBC
>
>
> And the link here can give you more information around hawq:
> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>
>
> And please also see the answers inline to your specific questions:
>
> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
> adaryl.wakefield@hotmail.com> wrote:
>
>> Silly question right? Thing is I’ve read a bit and watched some YouTube
>> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
>> it a true database or is it like Hive where I need to use HCatalog?
>>
>
> It is a true database, you can think it is like a parallel postgres but
> with much more functionalities and it works natively in hadoop world.
> HCatalog is not necessary. But you can read data registered in HCatalog
> with the new feature "hcatalog integration".
>
>
>> Can I write data intensive applications against it using ODBC? Does it
>> enforce referential integrity? Does it have stored procedures?
>>
>
> ODBC: yes, both JDBC/ODBC are supported
> referential integrity: currently not supported.
> Stored procedures: yes.
>
>
>> B.
>>
>
>
> Please let us know if you have any other questions.
>
> Cheers
> Lei
>
>
>

Re: what is Hawq?

Posted by "Adaryl \"Bob\" Wakefield, MBA" <ad...@hotmail.com>.
So what I’ve been looking for is  a low cost high performance distributed relational database. I’ve looked at in memory database but all those guys seem to be optimized for a transactional use case. I work in a world where I want to deliver real time analytics. I want to be able to hammer the warehouse with writes while not disturbing reads. There is one buzz term I didn’t see in here: Mulit version concurrency control. 

In the early years of my career, I would design databases without enforcing referential integrity leaving that up to the application. Having worked for years and seeing what people do to databases, I would be concerned about implementing something where a check on users has been removed.

Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685
www.linkedin.com/in/bobwakefieldmba
Twitter: @BobLovesData

From: Lei Chang 
Sent: Thursday, November 12, 2015 2:25 AM
To: user@hawq.incubator.apache.org 
Subject: Re: what is Hawq?


Hi Bob, 

Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:

  a.. On-premise or cloud deployment 
  b.. Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension 
  c.. Extremely high performance. many times faster than other Hadoop SQL engine. 
  d.. World-class parallel optimizer 
  e.. Full transaction capability and consistency guarantee: ACID 
  f.. Dynamic data flow engine through high speed UDP based interconnect 
  g.. Elastic execution engine based on virtual segment & data locality 
  h.. Support multiple level partitioning and List/Range based partitioned tables. 
  i.. Multiple compression method support: snappy, gzip, quicklz, RLE 
  j.. Multi-language user defined function support: python, perl, java, c/c++, R 
  k.. Advanced machine learning and data mining functionalities through MADLib 
  l.. Dynamic node expansion: in seconds 
  m.. Most advanced three level resource management: Integrate with YARN and hierarchical resource queues. 
  n.. Easy access of all HDFS data and external system data (for example, HBase) 
  o.. Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari). 
  p.. Authentication & Granular authorization: Kerberos, SSL and role based access 
  q.. Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN 
  r.. Support most third party tools: Tableau, SAS et al.

  s.. Standard connectivity: JDBC/ODBC

And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ 



And please also see the answers inline to your specific questions:

On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:

  Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog? 

It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".

  Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?

ODBC: yes, both JDBC/ODBC are supported
referential integrity: currently not supported.
Stored procedures: yes.

  B.


Please let us know if you have any other questions.

Cheers
Lei


Re: what is Hawq?

Posted by Konstantin Boudnik <co...@apache.org>.
On Fri, Nov 13, 2015 at 07:39PM, Bob Marshall wrote:
> I stand corrected. But I had a question:
> 
> In Pivotal Hadoop HDFS, we added truncate to support transaction. The

Not to be picky, but truncate was added to the standard HDFS starting
from 2.7 (HDFS-3107).  Perhaps has been backported by Pivotal later on? :)

> signature of the truncate is as follows. void truncate(Path src, long
> length) throws IOException; The truncate() function truncates the file to
> the size which is less or equal to the file length. Ift he size of the file
> is smaller than the target length, an IOException is thrown.This is
> different from Posix truncate semantics. The rationale behind is HDFS does
> not support overwriting at any position.
> 
> Does this mean I need to run a modified HDFS to run HAWQ?
> 
> Robert L Marshall
> Senior Consultant | Avalon Consulting, LLC
> <http://www.avalonconsult.com/>c: (210) 853-7041
> LinkedIn <http://www.linkedin.com/company/avalon-consulting-llc> | Google+
> <http://www.google.com/+AvalonConsultingLLC> | Twitter
> <https://twitter.com/avalonconsult>
> -------------------------------------------------------------------------------------------------------------
> This message (including any attachments) contains confidential information
> intended for a specific individual and purpose, and is protected by law. If
> you are not the intended recipient, you should delete this message. Any
> disclosure, copying, or distribution of this message, or the taking of any
> action based on it, is strictly prohibited.
> 
> On Fri, Nov 13, 2015 at 7:16 PM, Dan Baskette <db...@gmail.com> wrote:
> 
> > But HAWQ does manage its own storage on HDFS.  You can leverage native
> > hawq format or Parquet.  It's PXF functions allows the querying of files in
> > other formats.   So, by your (and my) definition it is indeed a database.
> >
> > Sent from my iPhone
> >
> > On Nov 13, 2015, at 7:08 PM, Bob Marshall <ma...@avalonconsult.com>
> > wrote:
> >
> > Chhavi Joshi is right on the money. A database is both a query execution
> > tool and a data storage backend. HAWQ is executing against native Hadoop
> > storage, i.e. HBase, HDFS, etc.
> >
> > Robert L Marshall
> > Senior Consultant | Avalon Consulting, LLC
> > <http://www.avalonconsult.com/>c: (210) 853-7041
> > LinkedIn <http://www.linkedin.com/company/avalon-consulting-llc> | Google+
> > <http://www.google.com/+AvalonConsultingLLC> | Twitter
> > <https://twitter.com/avalonconsult>
> >
> > -------------------------------------------------------------------------------------------------------------
> > This message (including any attachments) contains confidential information
> > intended for a specific individual and purpose, and is protected by law.
> > If
> > you are not the intended recipient, you should delete this message. Any
> > disclosure, copying, or distribution of this message, or the taking of any
> > action based on it, is strictly prohibited.
> >
> > On Fri, Nov 13, 2015 at 10:41 AM, Chhavi Joshi <
> > Chhavi.Joshi@techmahindra.com> wrote:
> >
> >> If you have HAWQ greenplum integration you can create the external tables
> >> in greenplum like HIVE.
> >>
> >> For uploading the data into tables just need to put the file into
> >> hdfs.(same like external tables in HIVE)
> >>
> >>
> >>
> >>
> >>
> >> I still believe HAWQ is only the SQL query engine not a database.
> >>
> >>
> >>
> >> Chhavi
> >>
> >> *From:* Atri Sharma [mailto:atri@apache.org]
> >> *Sent:* Friday, November 13, 2015 3:53 AM
> >>
> >> *To:* user@hawq.incubator.apache.org
> >> *Subject:* Re: what is Hawq?
> >>
> >>
> >>
> >> Greenplum is open sourced.
> >>
> >> The main difference is between the two engines is that HAWQ is more for
> >> Hadoop based systems whereas Greenplum is more towards regular FS. This is
> >> a very high level difference between the two, the differences are more
> >> detailed. But a single line difference between the two is the one I wrote.
> >>
> >> On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <
> >> adaryl.wakefield@hotmail.com> wrote:
> >>
> >> Is Greenplum free? I heard they open sourced it but I haven’t found
> >> anything but a community edition.
> >>
> >>
> >>
> >> Adaryl "Bob" Wakefield, MBA
> >> Principal
> >> Mass Street Analytics, LLC
> >> 913.938.6685
> >> www.linkedin.com/in/bobwakefieldmba
> >> Twitter: @BobLovesData
> >>
> >>
> >>
> >> *From:* dortmont <do...@gmail.com>
> >>
> >> *Sent:* Friday, November 13, 2015 2:42 AM
> >>
> >> *To:* user@hawq.incubator.apache.org
> >>
> >> *Subject:* Re: what is Hawq?
> >>
> >>
> >>
> >> I see the advantage of HAWQ compared to other Hadoop SQL engines. It
> >> looks like the most mature solution on Hadoop thanks to the postgresql
> >> based engine.
> >>
> >>
> >>
> >> But why wouldn't I use Greenplum instead of HAWQ? It has even better
> >> performance and it supports updates.
> >>
> >>
> >> Cheers
> >>
> >>
> >>
> >> 2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:
> >>
> >> +1 for transactions.
> >>
> >> I think a major plus point is that HAWQ supports transactions,  and this
> >> enables a lot of critical workloads to be done on HAWQ.
> >>
> >> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
> >>
> >>
> >>
> >> Like what Bob said, HAWQ is a complete database and Drill is just a query
> >> engine.
> >>
> >>
> >>
> >> And HAWQ has also a lot of other benefits over Drill, for example:
> >>
> >>
> >>
> >> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can
> >> run all TPCDS queries without any changes. And support almost all third
> >> party tools, such as Tableau et al.
> >>
> >> 2. Performance: proved the best in the hadoop world
> >>
> >> 3. Scalability: high scalable via high speed UDP based interconnect.
> >>
> >> 4. Transactions: as I know, drill does not support transactions. it is a
> >> nightmare for end users to keep consistency.
> >>
> >> 5. Advanced resource management: HAWQ has the most advanced resource
> >> management. It natively supports YARN and easy to use hierarchical resource
> >> queues. Resources can be managed and enforced on query and operator level.
> >>
> >>
> >>
> >> Cheers
> >>
> >> Lei
> >>
> >>
> >>
> >>
> >>
> >> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <
> >> adaryl.wakefield@hotmail.com> wrote:
> >>
> >> There are a lot of tools that do a lot of things. Believe me it’s a full
> >> time job keeping track of what is going on in the apache world. As I
> >> understand it, Drill is just a query engine while Hawq is an actual
> >> database...some what anyway.
> >>
> >>
> >>
> >> Adaryl "Bob" Wakefield, MBA
> >> Principal
> >> Mass Street Analytics, LLC
> >> 913.938.6685
> >> www.linkedin.com/in/bobwakefieldmba
> >> Twitter: @BobLovesData
> >>
> >>
> >>
> >> *From:* Will Wagner <wo...@gmail.com>
> >>
> >> *Sent:* Thursday, November 12, 2015 7:42 AM
> >>
> >> *To:* user@hawq.incubator.apache.org
> >>
> >> *Subject:* Re: what is Hawq?
> >>
> >>
> >>
> >> Hi Lie,
> >>
> >> Great answer.
> >>
> >> I have a follow up question.
> >> Everything HAWQ is capable of doing is already covered by Apache Drill.
> >> Why do we need another tool?
> >>
> >> Thank you,
> >> Will W
> >>
> >> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
> >>
> >>
> >>
> >> Hi Bob,
> >>
> >>
> >>
> >> Apache HAWQ is a Hadoop native SQL query engine that combines the key
> >> technological advantages of MPP database with the scalability and
> >> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
> >> natively. HAWQ delivers industry-leading performance and linear
> >> scalability. It provides users the tools to confidently and successfully
> >> interact with petabyte range data sets. HAWQ provides users with a
> >> complete, standards compliant SQL interface. More specifically, HAWQ has
> >> the following features:
> >>
> >> ·         On-premise or cloud deployment
> >>
> >> ·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP
> >> extension
> >>
> >> ·         Extremely high performance. many times faster than other
> >> Hadoop SQL engine.
> >>
> >> ·         World-class parallel optimizer
> >>
> >> ·         Full transaction capability and consistency guarantee: ACID
> >>
> >> ·         Dynamic data flow engine through high speed UDP based
> >> interconnect
> >>
> >> ·         Elastic execution engine based on virtual segment & data
> >> locality
> >>
> >> ·         Support multiple level partitioning and List/Range based
> >> partitioned tables.
> >>
> >> ·         Multiple compression method support: snappy, gzip, quicklz,
> >> RLE
> >>
> >> ·         Multi-language user defined function support: python, perl,
> >> java, c/c++, R
> >>
> >> ·         Advanced machine learning and data mining functionalities
> >> through MADLib
> >>
> >> ·         Dynamic node expansion: in seconds
> >>
> >> ·         Most advanced three level resource management: Integrate with
> >> YARN and hierarchical resource queues.
> >>
> >> ·         Easy access of all HDFS data and external system data (for
> >> example, HBase)
> >>
> >> ·         Hadoop Native: from storage (HDFS), resource management (YARN)
> >> to deployment (Ambari).
> >>
> >> ·         Authentication & Granular authorization: Kerberos, SSL and
> >> role based access
> >>
> >> ·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 &
> >> libYARN
> >>
> >> ·         Support most third party tools: Tableau, SAS et al.
> >>
> >> ·         Standard connectivity: JDBC/ODBC
> >>
> >>
> >>
> >> And the link here can give you more information around hawq:
> >> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
> >>
> >>
> >>
> >>
> >>
> >> And please also see the answers inline to your specific questions:
> >>
> >>
> >>
> >> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
> >> adaryl.wakefield@hotmail.com> wrote:
> >>
> >> Silly question right? Thing is I’ve read a bit and watched some YouTube
> >> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
> >> it a true database or is it like Hive where I need to use HCatalog?
> >>
> >>
> >>
> >> It is a true database, you can think it is like a parallel postgres but
> >> with much more functionalities and it works natively in hadoop world.
> >> HCatalog is not necessary. But you can read data registered in HCatalog
> >> with the new feature "hcatalog integration".
> >>
> >>
> >>
> >> Can I write data intensive applications against it using ODBC? Does it
> >> enforce referential integrity? Does it have stored procedures?
> >>
> >>
> >>
> >> ODBC: yes, both JDBC/ODBC are supported
> >>
> >> referential integrity: currently not supported.
> >>
> >> Stored procedures: yes.
> >>
> >>
> >>
> >> B.
> >>
> >>
> >>
> >>
> >>
> >> Please let us know if you have any other questions.
> >>
> >>
> >>
> >> Cheers
> >>
> >> Lei
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> ============================================================================================================================
> >> Disclaimer: This message and the information contained herein is
> >> proprietary and confidential and subject to the Tech Mahindra policy
> >> statement, you may review the policy at
> >> http://www.techmahindra.com/Disclaimer.html externally
> >> http://tim.techmahindra.com/tim/disclaimer.html internally within
> >> TechMahindra.
> >>
> >> ============================================================================================================================
> >>
> >>
> >

Re: what is Hawq?

Posted by Bob Marshall <ma...@avalonconsult.com>.
When you talk about ALL of the SQL on Hadoop tools, you need to separate
out those features implemented by the SQL tool, e.g. SQL-89, SQL-92,
SQL-2003 compliance, with what is implemented in the underlying Hadoop
space that the tool is querying, such as Columnar Storage in HBase,
compression in HDFS, etc.
The user who wrote the line about tracking SQL on Hadoop tools as a full
time job was right. As a Hadoop Architect who works for both Cloudera and
Hortonworks Professional Services, I always recommend to my clients to
build a spreadsheet with all the claims and verify those implemented by
each tool against the clients' needs and then having a POC "shoot off" in
house between the top 2 or 3 against real world workloads to see how the
tools perform against their own data. Never rely on salesman's or
developer's claims.
All of the tools are either open source or will be offered for POC by the
vendor. And if the choice of the tool will influence the distribution, eg
Impala -Cloudera vs. Hortonworks/Pivotal -Hawq, then perhaps the cart is
being placed in front of the horse. Are you willing to sacrifice more
mature management capability for more robust SQL performance? Do you need
mature Data Governance functions?
And the real kicker is that the Hadoop space is so dynamic that any design
and list of capabilities will be outdated in 6-12 months. Are you designing
for on-premises? Cloudera's strategic direction is cloud in 12-18 months.
Will kudu replace HBase for low-latency retrieval? Will the in-memory
paradigm of Spark replace MapReduce? SparkSQL and SparkR are both immature
and not ready for production, but in 12 months?
Choosing distributions and tools in the Hadoop space is complex and will be
for the foreseeable future.

Robert Marshall
Sr Hadoop Consultant
Avalon Consuting LLC
469-424-3449



On Friday, November 13, 2015, Dan Baskette <db...@gmail.com> wrote:

> Hive doesn't have the level of SQL support that HAWQ provides especially
> around sub-selects.   SparkSQL only support a subset of HiveQL, so the
> difference there is even bigger.
>
> Sent from my iPhone
>
> On Nov 13, 2015, at 9:39 AM, Biswas, Supriya <Supriya.Biswas@nielsen.com
> <javascript:_e(%7B%7D,'cvml','Supriya.Biswas@nielsen.com');>> wrote:
>
> Hello All –
>
>
>
> Hive 0.14 supports ACID and also supports transactions. Spark supports
> Hive queries (HQL).
>
>
>
> Did anyone compare HAWQ with spark SQL or Hive HQL on Spark?
>
>
>
> Thanks.
>
>
>
>
> *Supriyo Biswas *Architect – CPS Service Delivery
> The Nielsen Company
> Office (516) 682-6021/NETS 249-6021
>
> Cell     (516) 353-6795
> www.nielsen.com
>
>
>
> *From:* Atri Sharma [mailto:atri@apache.org
> <javascript:_e(%7B%7D,'cvml','atri@apache.org');>]
> *Sent:* Friday, November 13, 2015 3:53 AM
> *To:* user@hawq.incubator.apache.org
> <javascript:_e(%7B%7D,'cvml','user@hawq.incubator.apache.org');>
> *Subject:* Re: what is Hawq?
>
>
>
> Greenplum is open sourced.
>
> The main difference is between the two engines is that HAWQ is more for
> Hadoop based systems whereas Greenplum is more towards regular FS. This is
> a very high level difference between the two, the differences are more
> detailed. But a single line difference between the two is the one I wrote.
>
> On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <
> adaryl.wakefield@hotmail.com
> <javascript:_e(%7B%7D,'cvml','adaryl.wakefield@hotmail.com');>> wrote:
>
> Is Greenplum free? I heard they open sourced it but I haven’t found
> anything but a community edition.
>
>
>
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>
>
>
> *From:* dortmont <javascript:_e(%7B%7D,'cvml','dortmont@gmail.com');>
>
> *Sent:* Friday, November 13, 2015 2:42 AM
>
> *To:* user@hawq.incubator.apache.org
> <javascript:_e(%7B%7D,'cvml','user@hawq.incubator.apache.org');>
>
> *Subject:* Re: what is Hawq?
>
>
>
> I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks
> like the most mature solution on Hadoop thanks to the postgresql based
> engine.
>
>
>
> But why wouldn't I use Greenplum instead of HAWQ? It has even better
> performance and it supports updates.
>
>
> Cheers
>
>
>
> 2015-11-13 7:45 GMT+01:00 Atri Sharma <atri@apache.org
> <javascript:_e(%7B%7D,'cvml','atri@apache.org');>>:
>
> +1 for transactions.
>
> I think a major plus point is that HAWQ supports transactions,  and this
> enables a lot of critical workloads to be done on HAWQ.
>
> On 13 Nov 2015 12:13, "Lei Chang" <chang.lei.cn@gmail.com
> <javascript:_e(%7B%7D,'cvml','chang.lei.cn@gmail.com');>> wrote:
>
>
>
> Like what Bob said, HAWQ is a complete database and Drill is just a query
> engine.
>
>
>
> And HAWQ has also a lot of other benefits over Drill, for example:
>
>
>
> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can
> run all TPCDS queries without any changes. And support almost all third
> party tools, such as Tableau et al.
>
> 2. Performance: proved the best in the hadoop world
>
> 3. Scalability: high scalable via high speed UDP based interconnect.
>
> 4. Transactions: as I know, drill does not support transactions. it is a
> nightmare for end users to keep consistency.
>
> 5. Advanced resource management: HAWQ has the most advanced resource
> management. It natively supports YARN and easy to use hierarchical resource
> queues. Resources can be managed and enforced on query and operator level.
>
>
>
> Cheers
>
> Lei
>
>
>
>
>
> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <
> adaryl.wakefield@hotmail.com
> <javascript:_e(%7B%7D,'cvml','adaryl.wakefield@hotmail.com');>> wrote:
>
> There are a lot of tools that do a lot of things. Believe me it’s a full
> time job keeping track of what is going on in the apache world. As I
> understand it, Drill is just a query engine while Hawq is an actual
> database...some what anyway.
>
>
>
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>
>
>
> *From:* Will Wagner <javascript:_e(%7B%7D,'cvml','wowagner@gmail.com');>
>
> *Sent:* Thursday, November 12, 2015 7:42 AM
>
> *To:* user@hawq.incubator.apache.org
> <javascript:_e(%7B%7D,'cvml','user@hawq.incubator.apache.org');>
>
> *Subject:* Re: what is Hawq?
>
>
>
> Hi Lie,
>
> Great answer.
>
> I have a follow up question.
> Everything HAWQ is capable of doing is already covered by Apache Drill.
> Why do we need another tool?
>
> Thank you,
> Will W
>
> On Nov 12, 2015 12:25 AM, "Lei Chang" <chang.lei.cn@gmail.com
> <javascript:_e(%7B%7D,'cvml','chang.lei.cn@gmail.com');>> wrote:
>
>
>
> Hi Bob,
>
>
>
> Apache HAWQ is a Hadoop native SQL query engine that combines the key
> technological advantages of MPP database with the scalability and
> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
> natively. HAWQ delivers industry-leading performance and linear
> scalability. It provides users the tools to confidently and successfully
> interact with petabyte range data sets. HAWQ provides users with a
> complete, standards compliant SQL interface. More specifically, HAWQ has
> the following features:
>
> ·         On-premise or cloud deployment
>
> ·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP
> extension
>
> ·         Extremely high performance. many times faster than other Hadoop
> SQL engine.
>
> ·         World-class parallel optimizer
>
> ·         Full transaction capability and consistency guarantee: ACID
>
> ·         Dynamic data flow engine through high speed UDP based
> interconnect
>
> ·         Elastic execution engine based on virtual segment & data
> locality
>
> ·         Support multiple level partitioning and List/Range based
> partitioned tables.
>
> ·         Multiple compression method support: snappy, gzip, quicklz, RLE
>
> ·         Multi-language user defined function support: python, perl,
> java, c/c++, R
>
> ·         Advanced machine learning and data mining functionalities
> through MADLib
>
> ·         Dynamic node expansion: in seconds
>
> ·         Most advanced three level resource management: Integrate with
> YARN and hierarchical resource queues.
>
> ·         Easy access of all HDFS data and external system data (for
> example, HBase)
>
> ·         Hadoop Native: from storage (HDFS), resource management (YARN)
> to deployment (Ambari).
>
> ·         Authentication & Granular authorization: Kerberos, SSL and role
> based access
>
> ·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 &
> libYARN
>
> ·         Support most third party tools: Tableau, SAS et al.
>
> ·         Standard connectivity: JDBC/ODBC
>
>
>
> And the link here can give you more information around hawq:
> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>
>
>
>
>
> And please also see the answers inline to your specific questions:
>
>
>
> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
> adaryl.wakefield@hotmail.com
> <javascript:_e(%7B%7D,'cvml','adaryl.wakefield@hotmail.com');>> wrote:
>
> Silly question right? Thing is I’ve read a bit and watched some YouTube
> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
> it a true database or is it like Hive where I need to use HCatalog?
>
>
>
> It is a true database, you can think it is like a parallel postgres but
> with much more functionalities and it works natively in hadoop world.
> HCatalog is not necessary. But you can read data registered in HCatalog
> with the new feature "hcatalog integration".
>
>
>
> Can I write data intensive applications against it using ODBC? Does it
> enforce referential integrity? Does it have stored procedures?
>
>
>
> ODBC: yes, both JDBC/ODBC are supported
>
> referential integrity: currently not supported.
>
> Stored procedures: yes.
>
>
>
> B.
>
>
>
>
>
> Please let us know if you have any other questions.
>
>
>
> Cheers
>
> Lei
>
>
>
>
>
>
>
>
>
>

-- 
Robert L Marshall
Senior Consultant | Avalon Consulting, LLC
<http://www.avalonconsult.com/>c: (210) 853-7041
LinkedIn <http://www.linkedin.com/company/avalon-consulting-llc> | Google+
<http://www.google.com/+AvalonConsultingLLC> | Twitter
<https://twitter.com/avalonconsult>
-------------------------------------------------------------------------------------------------------------
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message. Any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.

Re: what is Hawq?

Posted by Dan Baskette <db...@gmail.com>.
Hive doesn't have the level of SQL support that HAWQ provides especially around sub-selects.   SparkSQL only support a subset of HiveQL, so the difference there is even bigger.  

Sent from my iPhone

> On Nov 13, 2015, at 9:39 AM, Biswas, Supriya <Su...@nielsen.com> wrote:
> 
> Hello All –
>  
> Hive 0.14 supports ACID and also supports transactions. Spark supports Hive queries (HQL).
>  
> Did anyone compare HAWQ with spark SQL or Hive HQL on Spark?
>  
> Thanks.
>  
> Supriyo Biswas
> Architect – CPS Service Delivery
> The Nielsen Company
> Office (516) 682-6021/NETS 249-6021
> Cell     (516) 353-6795
> www.nielsen.com
>  
> From: Atri Sharma [mailto:atri@apache.org] 
> Sent: Friday, November 13, 2015 3:53 AM
> To: user@hawq.incubator.apache.org
> Subject: Re: what is Hawq?
>  
> Greenplum is open sourced.
> 
> The main difference is between the two engines is that HAWQ is more for Hadoop based systems whereas Greenplum is more towards regular FS. This is a very high level difference between the two, the differences are more detailed. But a single line difference between the two is the one I wrote.
> 
> On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <ad...@hotmail.com> wrote:
> Is Greenplum free? I heard they open sourced it but I haven’t found anything but a community edition.
>  
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>  
> From: dortmont
> Sent: Friday, November 13, 2015 2:42 AM
> To: user@hawq.incubator.apache.org
> Subject: Re: what is Hawq?
>  
> I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks like the most mature solution on Hadoop thanks to the postgresql based engine.
>  
> But why wouldn't I use Greenplum instead of HAWQ? It has even better performance and it supports updates.
> 
> Cheers
>  
> 2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:
> +1 for transactions.
> 
> I think a major plus point is that HAWQ supports transactions,  and this enables a lot of critical workloads to be done on HAWQ.
> 
> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
>  
> Like what Bob said, HAWQ is a complete database and Drill is just a query engine.
>  
> And HAWQ has also a lot of other benefits over Drill, for example:
>  
> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can run all TPCDS queries without any changes. And support almost all third party tools, such as Tableau et al.
> 2. Performance: proved the best in the hadoop world
> 3. Scalability: high scalable via high speed UDP based interconnect.
> 4. Transactions: as I know, drill does not support transactions. it is a nightmare for end users to keep consistency.
> 5. Advanced resource management: HAWQ has the most advanced resource management. It natively supports YARN and easy to use hierarchical resource queues. Resources can be managed and enforced on query and operator level.
>  
> Cheers
> Lei
>  
>  
> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:
> There are a lot of tools that do a lot of things. Believe me it’s a full time job keeping track of what is going on in the apache world. As I understand it, Drill is just a query engine while Hawq is an actual database...some what anyway.
>  
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>  
> From: Will Wagner
> Sent: Thursday, November 12, 2015 7:42 AM
> To: user@hawq.incubator.apache.org
> Subject: Re: what is Hawq?
>  
> Hi Lie,
> 
> Great answer.
> 
> I have a follow up question. 
> Everything HAWQ is capable of doing is already covered by Apache Drill.  Why do we need another tool?
> 
> Thank you, 
> Will W
> 
> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>  
> Hi Bob,
>  
> Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:
> ·         On-premise or cloud deployment
> ·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
> ·         Extremely high performance. many times faster than other Hadoop SQL engine.
> ·         World-class parallel optimizer
> ·         Full transaction capability and consistency guarantee: ACID
> ·         Dynamic data flow engine through high speed UDP based interconnect
> ·         Elastic execution engine based on virtual segment & data locality
> ·         Support multiple level partitioning and List/Range based partitioned tables.
> ·         Multiple compression method support: snappy, gzip, quicklz, RLE
> ·         Multi-language user defined function support: python, perl, java, c/c++, R
> ·         Advanced machine learning and data mining functionalities through MADLib
> ·         Dynamic node expansion: in seconds
> ·         Most advanced three level resource management: Integrate with YARN and hierarchical resource queues.
> ·         Easy access of all HDFS data and external system data (for example, HBase)
> ·         Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari).
> ·         Authentication & Granular authorization: Kerberos, SSL and role based access
> ·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
> ·         Support most third party tools: Tableau, SAS et al.
> ·         Standard connectivity: JDBC/ODBC
>  
> And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ 
>  
>  
> And please also see the answers inline to your specific questions:
>  
> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:
> Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog?
>  
> It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".
>  
> Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?
>  
> ODBC: yes, both JDBC/ODBC are supported
> referential integrity: currently not supported.
> Stored procedures: yes.
>  
> B.
>  
>  
> Please let us know if you have any other questions.
>  
> Cheers
> Lei
>  
>  
>  
>  

RE: what is Hawq?

Posted by "Biswas, Supriya" <Su...@nielsen.com>.
Hello All –

Hive 0.14 supports ACID and also supports transactions. Spark supports Hive queries (HQL).

Did anyone compare HAWQ with spark SQL or Hive HQL on Spark?

Thanks.

Supriyo Biswas
Architect – CPS Service Delivery
The Nielsen Company
Office (516) 682-6021/NETS 249-6021
Cell     (516) 353-6795
www.nielsen.com<http://www.nielsen.com/>

From: Atri Sharma [mailto:atri@apache.org]
Sent: Friday, November 13, 2015 3:53 AM
To: user@hawq.incubator.apache.org
Subject: Re: what is Hawq?


Greenplum is open sourced.

The main difference is between the two engines is that HAWQ is more for Hadoop based systems whereas Greenplum is more towards regular FS. This is a very high level difference between the two, the differences are more detailed. But a single line difference between the two is the one I wrote.
On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <ad...@hotmail.com>> wrote:
Is Greenplum free? I heard they open sourced it but I haven’t found anything but a community edition.

Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685
www.linkedin.com/in/bobwakefieldmba<http://www.linkedin.com/in/bobwakefieldmba>
Twitter: @BobLovesData

From: dortmont<ma...@gmail.com>
Sent: Friday, November 13, 2015 2:42 AM
To: user@hawq.incubator.apache.org<ma...@hawq.incubator.apache.org>
Subject: Re: what is Hawq?

I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks like the most mature solution on Hadoop thanks to the postgresql based engine.

But why wouldn't I use Greenplum instead of HAWQ? It has even better performance and it supports updates.

Cheers

2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>>:

+1 for transactions.

I think a major plus point is that HAWQ supports transactions,  and this enables a lot of critical workloads to be done on HAWQ.
On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com>> wrote:

Like what Bob said, HAWQ is a complete database and Drill is just a query engine.

And HAWQ has also a lot of other benefits over Drill, for example:

1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can run all TPCDS queries without any changes. And support almost all third party tools, such as Tableau et al.
2. Performance: proved the best in the hadoop world
3. Scalability: high scalable via high speed UDP based interconnect.
4. Transactions: as I know, drill does not support transactions. it is a nightmare for end users to keep consistency.
5. Advanced resource management: HAWQ has the most advanced resource management. It natively supports YARN and easy to use hierarchical resource queues. Resources can be managed and enforced on query and operator level.

Cheers
Lei


On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com>> wrote:
There are a lot of tools that do a lot of things. Believe me it’s a full time job keeping track of what is going on in the apache world. As I understand it, Drill is just a query engine while Hawq is an actual database...some what anyway.

Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685<tel:913.938.6685>
www.linkedin.com/in/bobwakefieldmba<http://www.linkedin.com/in/bobwakefieldmba>
Twitter: @BobLovesData

From: Will Wagner<ma...@gmail.com>
Sent: Thursday, November 12, 2015 7:42 AM
To: user@hawq.incubator.apache.org<ma...@hawq.incubator.apache.org>
Subject: Re: what is Hawq?


Hi Lie,

Great answer.

I have a follow up question.
Everything HAWQ is capable of doing is already covered by Apache Drill.  Why do we need another tool?

Thank you,
Will W
On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com>> wrote:

Hi Bob,


Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:
·         On-premise or cloud deployment
·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
·         Extremely high performance. many times faster than other Hadoop SQL engine.
·         World-class parallel optimizer
·         Full transaction capability and consistency guarantee: ACID
·         Dynamic data flow engine through high speed UDP based interconnect
·         Elastic execution engine based on virtual segment & data locality
·         Support multiple level partitioning and List/Range based partitioned tables.
·         Multiple compression method support: snappy, gzip, quicklz, RLE
·         Multi-language user defined function support: python, perl, java, c/c++, R
·         Advanced machine learning and data mining functionalities through MADLib
·         Dynamic node expansion: in seconds
·         Most advanced three level resource management: Integrate with YARN and hierarchical resource queues.
·         Easy access of all HDFS data and external system data (for example, HBase)
·         Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari).
·         Authentication & Granular authorization: Kerberos, SSL and role based access
·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
·         Support most third party tools: Tableau, SAS et al.
·         Standard connectivity: JDBC/ODBC

And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ


And please also see the answers inline to your specific questions:

On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com>> wrote:
Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog?

It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".

Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?

ODBC: yes, both JDBC/ODBC are supported
referential integrity: currently not supported.
Stored procedures: yes.

B.


Please let us know if you have any other questions.

Cheers
Lei





Re: what is Hawq?

Posted by Caleb Welton <cw...@pivotal.io>.
This patch is standard in HDFS 2.7.  Pivotal HD and HDP are both based on HDFS 2.6 with the truncate patch from 2.7 backported.


> On Nov 13, 2015, at 4:45 PM, Dan Baskette <db...@gmail.com> wrote:
> 
> No, truncate was added to Apache Hadoop
> 
> https://issues.apache.org/jira/plugins/servlet/mobile#issue/hdfs-3107
> 
> Sent from my iPhone
> 
>> On Nov 13, 2015, at 7:39 PM, Bob Marshall <ma...@avalonconsult.com> wrote:
>> 
>> I stand corrected. But I had a question:
>> 
>> In Pivotal Hadoop HDFS, we added truncate to support transaction. The signature of the truncate is as follows. void truncate(Path src, long length) throws IOException; The truncate() function truncates the file to the size which is less or equal to the file length. Ift he size of the file is smaller than the target length, an IOException is thrown.This is different from Posix truncate semantics. The rationale behind is HDFS does not support overwriting at any position.
>> 
>> Does this mean I need to run a modified HDFS to run HAWQ?
>> 
>> Robert L Marshall
>> Senior Consultant | Avalon Consulting, LLC
>> c: (210) 853-7041
>> LinkedIn | Google+ | Twitter
>> -------------------------------------------------------------------------------------------------------------
>> This message (including any attachments) contains confidential information 
>> intended for a specific individual and purpose, and is protected by law. If 
>> you are not the intended recipient, you should delete this message. Any 
>> disclosure, copying, or distribution of this message, or the taking of any 
>> action based on it, is strictly prohibited.
>> 
>>> On Fri, Nov 13, 2015 at 7:16 PM, Dan Baskette <db...@gmail.com> wrote:
>>> But HAWQ does manage its own storage on HDFS.  You can leverage native hawq format or Parquet.  It's PXF functions allows the querying of files in other formats.   So, by your (and my) definition it is indeed a database.  
>>> 
>>> Sent from my iPhone
>>> 
>>>> On Nov 13, 2015, at 7:08 PM, Bob Marshall <ma...@avalonconsult.com> wrote:
>>>> 
>>>> Chhavi Joshi is right on the money. A database is both a query execution tool and a data storage backend. HAWQ is executing against native Hadoop storage, i.e. HBase, HDFS, etc.
>>>> 
>>>> Robert L Marshall
>>>> Senior Consultant | Avalon Consulting, LLC
>>>> c: (210) 853-7041
>>>> LinkedIn | Google+ | Twitter
>>>> -------------------------------------------------------------------------------------------------------------
>>>> This message (including any attachments) contains confidential information 
>>>> intended for a specific individual and purpose, and is protected by law. If 
>>>> you are not the intended recipient, you should delete this message. Any 
>>>> disclosure, copying, or distribution of this message, or the taking of any 
>>>> action based on it, is strictly prohibited.
>>>> 
>>>>> On Fri, Nov 13, 2015 at 10:41 AM, Chhavi Joshi <Ch...@techmahindra.com> wrote:
>>>>> If you have HAWQ greenplum integration you can create the external tables in greenplum like HIVE.
>>>>> 
>>>>> For uploading the data into tables just need to put the file into hdfs.(same like external tables in HIVE)
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>> I still believe HAWQ is only the SQL query engine not a database.
>>>>> 
>>>>>  
>>>>> 
>>>>> Chhavi
>>>>> 
>>>>> From: Atri Sharma [mailto:atri@apache.org] 
>>>>> Sent: Friday, November 13, 2015 3:53 AM
>>>>> 
>>>>> 
>>>>> To: user@hawq.incubator.apache.org
>>>>> Subject: Re: what is Hawq?
>>>>>  
>>>>> 
>>>>> Greenplum is open sourced.
>>>>> 
>>>>> The main difference is between the two engines is that HAWQ is more for Hadoop based systems whereas Greenplum is more towards regular FS. This is a very high level difference between the two, the differences are more detailed. But a single line difference between the two is the one I wrote.
>>>>> 
>>>>> On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <ad...@hotmail.com> wrote:
>>>>> 
>>>>> Is Greenplum free? I heard they open sourced it but I haven’t found anything but a community edition.
>>>>> 
>>>>>  
>>>>> 
>>>>> Adaryl "Bob" Wakefield, MBA
>>>>> Principal
>>>>> Mass Street Analytics, LLC
>>>>> 913.938.6685
>>>>> www.linkedin.com/in/bobwakefieldmba
>>>>> Twitter: @BobLovesData
>>>>> 
>>>>>  
>>>>> 
>>>>> From: dortmont
>>>>> 
>>>>> Sent: Friday, November 13, 2015 2:42 AM
>>>>> 
>>>>> To: user@hawq.incubator.apache.org
>>>>> 
>>>>> Subject: Re: what is Hawq?
>>>>> 
>>>>>  
>>>>> 
>>>>> I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks like the most mature solution on Hadoop thanks to the postgresql based engine.
>>>>> 
>>>>>  
>>>>> 
>>>>> But why wouldn't I use Greenplum instead of HAWQ? It has even better performance and it supports updates.
>>>>> 
>>>>> 
>>>>> Cheers
>>>>> 
>>>>>  
>>>>> 
>>>>> 2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:
>>>>> 
>>>>> +1 for transactions.
>>>>> 
>>>>> I think a major plus point is that HAWQ supports transactions,  and this enables a lot of critical workloads to be done on HAWQ.
>>>>> 
>>>>> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
>>>>> 
>>>>>  
>>>>> 
>>>>> Like what Bob said, HAWQ is a complete database and Drill is just a query engine.
>>>>> 
>>>>>  
>>>>> 
>>>>> And HAWQ has also a lot of other benefits over Drill, for example:
>>>>> 
>>>>>  
>>>>> 
>>>>> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can run all TPCDS queries without any changes. And support almost all third party tools, such as Tableau et al.
>>>>> 
>>>>> 2. Performance: proved the best in the hadoop world
>>>>> 
>>>>> 3. Scalability: high scalable via high speed UDP based interconnect.
>>>>> 
>>>>> 4. Transactions: as I know, drill does not support transactions. it is a nightmare for end users to keep consistency.
>>>>> 
>>>>> 5. Advanced resource management: HAWQ has the most advanced resource management. It natively supports YARN and easy to use hierarchical resource queues. Resources can be managed and enforced on query and operator level.
>>>>> 
>>>>>  
>>>>> 
>>>>> Cheers
>>>>> 
>>>>> Lei
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:
>>>>> 
>>>>> There are a lot of tools that do a lot of things. Believe me it’s a full time job keeping track of what is going on in the apache world. As I understand it, Drill is just a query engine while Hawq is an actual database...some what anyway.
>>>>> 
>>>>>  
>>>>> 
>>>>> Adaryl "Bob" Wakefield, MBA
>>>>> Principal
>>>>> Mass Street Analytics, LLC
>>>>> 913.938.6685
>>>>> www.linkedin.com/in/bobwakefieldmba
>>>>> Twitter: @BobLovesData
>>>>> 
>>>>>  
>>>>> 
>>>>> From: Will Wagner
>>>>> 
>>>>> Sent: Thursday, November 12, 2015 7:42 AM
>>>>> 
>>>>> To: user@hawq.incubator.apache.org
>>>>> 
>>>>> Subject: Re: what is Hawq?
>>>>> 
>>>>>  
>>>>> 
>>>>> Hi Lie,
>>>>> 
>>>>> Great answer.
>>>>> 
>>>>> I have a follow up question. 
>>>>> Everything HAWQ is capable of doing is already covered by Apache Drill.  Why do we need another tool?
>>>>> 
>>>>> Thank you, 
>>>>> Will W
>>>>> 
>>>>> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>>>>> 
>>>>>  
>>>>> 
>>>>> Hi Bob,
>>>>> 
>>>>>  
>>>>> 
>>>>> Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:
>>>>> ·         On-premise or cloud deployment 
>>>>> 
>>>>> ·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
>>>>> 
>>>>> ·         Extremely high performance. many times faster than other Hadoop SQL engine.
>>>>> 
>>>>> ·         World-class parallel optimizer
>>>>> 
>>>>> ·         Full transaction capability and consistency guarantee: ACID
>>>>> 
>>>>> ·         Dynamic data flow engine through high speed UDP based interconnect
>>>>> 
>>>>> ·         Elastic execution engine based on virtual segment & data locality
>>>>> 
>>>>> ·         Support multiple level partitioning and List/Range based partitioned tables.
>>>>> 
>>>>> ·         Multiple compression method support: snappy, gzip, quicklz, RLE
>>>>> 
>>>>> ·         Multi-language user defined function support: python, perl, java, c/c++, R
>>>>> 
>>>>> ·         Advanced machine learning and data mining functionalities through MADLib
>>>>> 
>>>>> ·         Dynamic node expansion: in seconds
>>>>> 
>>>>> ·         Most advanced three level resource management: Integrate with YARN and hierarchical resource queues.
>>>>> 
>>>>> ·         Easy access of all HDFS data and external system data (for example, HBase)
>>>>> 
>>>>> ·         Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari).
>>>>> 
>>>>> ·         Authentication & Granular authorization: Kerberos, SSL and role based access
>>>>> 
>>>>> ·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
>>>>> 
>>>>> ·         Support most third party tools: Tableau, SAS et al.
>>>>> 
>>>>> ·         Standard connectivity: JDBC/ODBC
>>>>> 
>>>>>  
>>>>> 
>>>>> And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ 
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>> And please also see the answers inline to your specific questions:
>>>>> 
>>>>>  
>>>>> 
>>>>> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:
>>>>> 
>>>>> Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog?
>>>>> 
>>>>>  
>>>>> 
>>>>> It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".
>>>>> 
>>>>>  
>>>>> 
>>>>> Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?
>>>>> 
>>>>>  
>>>>> 
>>>>> ODBC: yes, both JDBC/ODBC are supported
>>>>> 
>>>>> referential integrity: currently not supported.
>>>>> 
>>>>> Stored procedures: yes.
>>>>> 
>>>>>  
>>>>> 
>>>>> B.
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>> Please let us know if you have any other questions.
>>>>> 
>>>>>  
>>>>> 
>>>>> Cheers
>>>>> 
>>>>> Lei
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>> ============================================================================================================================
>>>>> Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
>>>>> ============================================================================================================================
>> 

Re: what is Hawq?

Posted by Dan Baskette <db...@gmail.com>.
No, truncate was added to Apache Hadoop

https://issues.apache.org/jira/plugins/servlet/mobile#issue/hdfs-3107

Sent from my iPhone

> On Nov 13, 2015, at 7:39 PM, Bob Marshall <ma...@avalonconsult.com> wrote:
> 
> I stand corrected. But I had a question:
> 
> In Pivotal Hadoop HDFS, we added truncate to support transaction. The signature of the truncate is as follows. void truncate(Path src, long length) throws IOException; The truncate() function truncates the file to the size which is less or equal to the file length. Ift he size of the file is smaller than the target length, an IOException is thrown.This is different from Posix truncate semantics. The rationale behind is HDFS does not support overwriting at any position.
> 
> Does this mean I need to run a modified HDFS to run HAWQ?
> 
> Robert L Marshall
> Senior Consultant | Avalon Consulting, LLC
> c: (210) 853-7041
> LinkedIn | Google+ | Twitter
> -------------------------------------------------------------------------------------------------------------
> This message (including any attachments) contains confidential information 
> intended for a specific individual and purpose, and is protected by law. If 
> you are not the intended recipient, you should delete this message. Any 
> disclosure, copying, or distribution of this message, or the taking of any 
> action based on it, is strictly prohibited.
> 
>> On Fri, Nov 13, 2015 at 7:16 PM, Dan Baskette <db...@gmail.com> wrote:
>> But HAWQ does manage its own storage on HDFS.  You can leverage native hawq format or Parquet.  It's PXF functions allows the querying of files in other formats.   So, by your (and my) definition it is indeed a database.  
>> 
>> Sent from my iPhone
>> 
>>> On Nov 13, 2015, at 7:08 PM, Bob Marshall <ma...@avalonconsult.com> wrote:
>>> 
>>> Chhavi Joshi is right on the money. A database is both a query execution tool and a data storage backend. HAWQ is executing against native Hadoop storage, i.e. HBase, HDFS, etc.
>>> 
>>> Robert L Marshall
>>> Senior Consultant | Avalon Consulting, LLC
>>> c: (210) 853-7041
>>> LinkedIn | Google+ | Twitter
>>> -------------------------------------------------------------------------------------------------------------
>>> This message (including any attachments) contains confidential information 
>>> intended for a specific individual and purpose, and is protected by law. If 
>>> you are not the intended recipient, you should delete this message. Any 
>>> disclosure, copying, or distribution of this message, or the taking of any 
>>> action based on it, is strictly prohibited.
>>> 
>>>> On Fri, Nov 13, 2015 at 10:41 AM, Chhavi Joshi <Ch...@techmahindra.com> wrote:
>>>> If you have HAWQ greenplum integration you can create the external tables in greenplum like HIVE.
>>>> 
>>>> For uploading the data into tables just need to put the file into hdfs.(same like external tables in HIVE)
>>>> 
>>>>  
>>>> 
>>>>  
>>>> 
>>>> I still believe HAWQ is only the SQL query engine not a database.
>>>> 
>>>>  
>>>> 
>>>> Chhavi
>>>> 
>>>> From: Atri Sharma [mailto:atri@apache.org] 
>>>> Sent: Friday, November 13, 2015 3:53 AM
>>>> 
>>>> 
>>>> To: user@hawq.incubator.apache.org
>>>> Subject: Re: what is Hawq?
>>>>  
>>>> 
>>>> Greenplum is open sourced.
>>>> 
>>>> The main difference is between the two engines is that HAWQ is more for Hadoop based systems whereas Greenplum is more towards regular FS. This is a very high level difference between the two, the differences are more detailed. But a single line difference between the two is the one I wrote.
>>>> 
>>>> On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <ad...@hotmail.com> wrote:
>>>> 
>>>> Is Greenplum free? I heard they open sourced it but I haven’t found anything but a community edition.
>>>> 
>>>>  
>>>> 
>>>> Adaryl "Bob" Wakefield, MBA
>>>> Principal
>>>> Mass Street Analytics, LLC
>>>> 913.938.6685
>>>> www.linkedin.com/in/bobwakefieldmba
>>>> Twitter: @BobLovesData
>>>> 
>>>>  
>>>> 
>>>> From: dortmont
>>>> 
>>>> Sent: Friday, November 13, 2015 2:42 AM
>>>> 
>>>> To: user@hawq.incubator.apache.org
>>>> 
>>>> Subject: Re: what is Hawq?
>>>> 
>>>>  
>>>> 
>>>> I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks like the most mature solution on Hadoop thanks to the postgresql based engine.
>>>> 
>>>>  
>>>> 
>>>> But why wouldn't I use Greenplum instead of HAWQ? It has even better performance and it supports updates.
>>>> 
>>>> 
>>>> Cheers
>>>> 
>>>>  
>>>> 
>>>> 2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:
>>>> 
>>>> +1 for transactions.
>>>> 
>>>> I think a major plus point is that HAWQ supports transactions,  and this enables a lot of critical workloads to be done on HAWQ.
>>>> 
>>>> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
>>>> 
>>>>  
>>>> 
>>>> Like what Bob said, HAWQ is a complete database and Drill is just a query engine.
>>>> 
>>>>  
>>>> 
>>>> And HAWQ has also a lot of other benefits over Drill, for example:
>>>> 
>>>>  
>>>> 
>>>> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can run all TPCDS queries without any changes. And support almost all third party tools, such as Tableau et al.
>>>> 
>>>> 2. Performance: proved the best in the hadoop world
>>>> 
>>>> 3. Scalability: high scalable via high speed UDP based interconnect.
>>>> 
>>>> 4. Transactions: as I know, drill does not support transactions. it is a nightmare for end users to keep consistency.
>>>> 
>>>> 5. Advanced resource management: HAWQ has the most advanced resource management. It natively supports YARN and easy to use hierarchical resource queues. Resources can be managed and enforced on query and operator level.
>>>> 
>>>>  
>>>> 
>>>> Cheers
>>>> 
>>>> Lei
>>>> 
>>>>  
>>>> 
>>>>  
>>>> 
>>>> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:
>>>> 
>>>> There are a lot of tools that do a lot of things. Believe me it’s a full time job keeping track of what is going on in the apache world. As I understand it, Drill is just a query engine while Hawq is an actual database...some what anyway.
>>>> 
>>>>  
>>>> 
>>>> Adaryl "Bob" Wakefield, MBA
>>>> Principal
>>>> Mass Street Analytics, LLC
>>>> 913.938.6685
>>>> www.linkedin.com/in/bobwakefieldmba
>>>> Twitter: @BobLovesData
>>>> 
>>>>  
>>>> 
>>>> From: Will Wagner
>>>> 
>>>> Sent: Thursday, November 12, 2015 7:42 AM
>>>> 
>>>> To: user@hawq.incubator.apache.org
>>>> 
>>>> Subject: Re: what is Hawq?
>>>> 
>>>>  
>>>> 
>>>> Hi Lie,
>>>> 
>>>> Great answer.
>>>> 
>>>> I have a follow up question. 
>>>> Everything HAWQ is capable of doing is already covered by Apache Drill.  Why do we need another tool?
>>>> 
>>>> Thank you, 
>>>> Will W
>>>> 
>>>> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>>>> 
>>>>  
>>>> 
>>>> Hi Bob,
>>>> 
>>>>  
>>>> 
>>>> Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:
>>>> ·         On-premise or cloud deployment
>>>> 
>>>> ·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
>>>> 
>>>> ·         Extremely high performance. many times faster than other Hadoop SQL engine.
>>>> 
>>>> ·         World-class parallel optimizer
>>>> 
>>>> ·         Full transaction capability and consistency guarantee: ACID
>>>> 
>>>> ·         Dynamic data flow engine through high speed UDP based interconnect
>>>> 
>>>> ·         Elastic execution engine based on virtual segment & data locality
>>>> 
>>>> ·         Support multiple level partitioning and List/Range based partitioned tables.
>>>> 
>>>> ·         Multiple compression method support: snappy, gzip, quicklz, RLE
>>>> 
>>>> ·         Multi-language user defined function support: python, perl, java, c/c++, R
>>>> 
>>>> ·         Advanced machine learning and data mining functionalities through MADLib
>>>> 
>>>> ·         Dynamic node expansion: in seconds
>>>> 
>>>> ·         Most advanced three level resource management: Integrate with YARN and hierarchical resource queues.
>>>> 
>>>> ·         Easy access of all HDFS data and external system data (for example, HBase)
>>>> 
>>>> ·         Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari).
>>>> 
>>>> ·         Authentication & Granular authorization: Kerberos, SSL and role based access
>>>> 
>>>> ·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
>>>> 
>>>> ·         Support most third party tools: Tableau, SAS et al.
>>>> 
>>>> ·         Standard connectivity: JDBC/ODBC
>>>> 
>>>>  
>>>> 
>>>> And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ 
>>>> 
>>>>  
>>>> 
>>>>  
>>>> 
>>>> And please also see the answers inline to your specific questions:
>>>> 
>>>>  
>>>> 
>>>> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:
>>>> 
>>>> Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog?
>>>> 
>>>>  
>>>> 
>>>> It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".
>>>> 
>>>>  
>>>> 
>>>> Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?
>>>> 
>>>>  
>>>> 
>>>> ODBC: yes, both JDBC/ODBC are supported
>>>> 
>>>> referential integrity: currently not supported.
>>>> 
>>>> Stored procedures: yes.
>>>> 
>>>>  
>>>> 
>>>> B.
>>>> 
>>>>  
>>>> 
>>>>  
>>>> 
>>>> Please let us know if you have any other questions.
>>>> 
>>>>  
>>>> 
>>>> Cheers
>>>> 
>>>> Lei
>>>> 
>>>>  
>>>> 
>>>>  
>>>> 
>>>>  
>>>> 
>>>>  
>>>> 
>>>> ============================================================================================================================
>>>> Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
>>>> ============================================================================================================================
> 

Re: what is Hawq?

Posted by Bob Marshall <ma...@avalonconsult.com>.
I stand corrected. But I had a question:

In Pivotal Hadoop HDFS, we added truncate to support transaction. The
signature of the truncate is as follows. void truncate(Path src, long
length) throws IOException; The truncate() function truncates the file to
the size which is less or equal to the file length. Ift he size of the file
is smaller than the target length, an IOException is thrown.This is
different from Posix truncate semantics. The rationale behind is HDFS does
not support overwriting at any position.

Does this mean I need to run a modified HDFS to run HAWQ?

Robert L Marshall
Senior Consultant | Avalon Consulting, LLC
<http://www.avalonconsult.com/>c: (210) 853-7041
LinkedIn <http://www.linkedin.com/company/avalon-consulting-llc> | Google+
<http://www.google.com/+AvalonConsultingLLC> | Twitter
<https://twitter.com/avalonconsult>
-------------------------------------------------------------------------------------------------------------
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message. Any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.

On Fri, Nov 13, 2015 at 7:16 PM, Dan Baskette <db...@gmail.com> wrote:

> But HAWQ does manage its own storage on HDFS.  You can leverage native
> hawq format or Parquet.  It's PXF functions allows the querying of files in
> other formats.   So, by your (and my) definition it is indeed a database.
>
> Sent from my iPhone
>
> On Nov 13, 2015, at 7:08 PM, Bob Marshall <ma...@avalonconsult.com>
> wrote:
>
> Chhavi Joshi is right on the money. A database is both a query execution
> tool and a data storage backend. HAWQ is executing against native Hadoop
> storage, i.e. HBase, HDFS, etc.
>
> Robert L Marshall
> Senior Consultant | Avalon Consulting, LLC
> <http://www.avalonconsult.com/>c: (210) 853-7041
> LinkedIn <http://www.linkedin.com/company/avalon-consulting-llc> | Google+
> <http://www.google.com/+AvalonConsultingLLC> | Twitter
> <https://twitter.com/avalonconsult>
>
> -------------------------------------------------------------------------------------------------------------
> This message (including any attachments) contains confidential information
> intended for a specific individual and purpose, and is protected by law.
> If
> you are not the intended recipient, you should delete this message. Any
> disclosure, copying, or distribution of this message, or the taking of any
> action based on it, is strictly prohibited.
>
> On Fri, Nov 13, 2015 at 10:41 AM, Chhavi Joshi <
> Chhavi.Joshi@techmahindra.com> wrote:
>
>> If you have HAWQ greenplum integration you can create the external tables
>> in greenplum like HIVE.
>>
>> For uploading the data into tables just need to put the file into
>> hdfs.(same like external tables in HIVE)
>>
>>
>>
>>
>>
>> I still believe HAWQ is only the SQL query engine not a database.
>>
>>
>>
>> Chhavi
>>
>> *From:* Atri Sharma [mailto:atri@apache.org]
>> *Sent:* Friday, November 13, 2015 3:53 AM
>>
>> *To:* user@hawq.incubator.apache.org
>> *Subject:* Re: what is Hawq?
>>
>>
>>
>> Greenplum is open sourced.
>>
>> The main difference is between the two engines is that HAWQ is more for
>> Hadoop based systems whereas Greenplum is more towards regular FS. This is
>> a very high level difference between the two, the differences are more
>> detailed. But a single line difference between the two is the one I wrote.
>>
>> On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <
>> adaryl.wakefield@hotmail.com> wrote:
>>
>> Is Greenplum free? I heard they open sourced it but I haven’t found
>> anything but a community edition.
>>
>>
>>
>> Adaryl "Bob" Wakefield, MBA
>> Principal
>> Mass Street Analytics, LLC
>> 913.938.6685
>> www.linkedin.com/in/bobwakefieldmba
>> Twitter: @BobLovesData
>>
>>
>>
>> *From:* dortmont <do...@gmail.com>
>>
>> *Sent:* Friday, November 13, 2015 2:42 AM
>>
>> *To:* user@hawq.incubator.apache.org
>>
>> *Subject:* Re: what is Hawq?
>>
>>
>>
>> I see the advantage of HAWQ compared to other Hadoop SQL engines. It
>> looks like the most mature solution on Hadoop thanks to the postgresql
>> based engine.
>>
>>
>>
>> But why wouldn't I use Greenplum instead of HAWQ? It has even better
>> performance and it supports updates.
>>
>>
>> Cheers
>>
>>
>>
>> 2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:
>>
>> +1 for transactions.
>>
>> I think a major plus point is that HAWQ supports transactions,  and this
>> enables a lot of critical workloads to be done on HAWQ.
>>
>> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
>>
>>
>>
>> Like what Bob said, HAWQ is a complete database and Drill is just a query
>> engine.
>>
>>
>>
>> And HAWQ has also a lot of other benefits over Drill, for example:
>>
>>
>>
>> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can
>> run all TPCDS queries without any changes. And support almost all third
>> party tools, such as Tableau et al.
>>
>> 2. Performance: proved the best in the hadoop world
>>
>> 3. Scalability: high scalable via high speed UDP based interconnect.
>>
>> 4. Transactions: as I know, drill does not support transactions. it is a
>> nightmare for end users to keep consistency.
>>
>> 5. Advanced resource management: HAWQ has the most advanced resource
>> management. It natively supports YARN and easy to use hierarchical resource
>> queues. Resources can be managed and enforced on query and operator level.
>>
>>
>>
>> Cheers
>>
>> Lei
>>
>>
>>
>>
>>
>> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <
>> adaryl.wakefield@hotmail.com> wrote:
>>
>> There are a lot of tools that do a lot of things. Believe me it’s a full
>> time job keeping track of what is going on in the apache world. As I
>> understand it, Drill is just a query engine while Hawq is an actual
>> database...some what anyway.
>>
>>
>>
>> Adaryl "Bob" Wakefield, MBA
>> Principal
>> Mass Street Analytics, LLC
>> 913.938.6685
>> www.linkedin.com/in/bobwakefieldmba
>> Twitter: @BobLovesData
>>
>>
>>
>> *From:* Will Wagner <wo...@gmail.com>
>>
>> *Sent:* Thursday, November 12, 2015 7:42 AM
>>
>> *To:* user@hawq.incubator.apache.org
>>
>> *Subject:* Re: what is Hawq?
>>
>>
>>
>> Hi Lie,
>>
>> Great answer.
>>
>> I have a follow up question.
>> Everything HAWQ is capable of doing is already covered by Apache Drill.
>> Why do we need another tool?
>>
>> Thank you,
>> Will W
>>
>> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>>
>>
>>
>> Hi Bob,
>>
>>
>>
>> Apache HAWQ is a Hadoop native SQL query engine that combines the key
>> technological advantages of MPP database with the scalability and
>> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
>> natively. HAWQ delivers industry-leading performance and linear
>> scalability. It provides users the tools to confidently and successfully
>> interact with petabyte range data sets. HAWQ provides users with a
>> complete, standards compliant SQL interface. More specifically, HAWQ has
>> the following features:
>>
>> ·         On-premise or cloud deployment
>>
>> ·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP
>> extension
>>
>> ·         Extremely high performance. many times faster than other
>> Hadoop SQL engine.
>>
>> ·         World-class parallel optimizer
>>
>> ·         Full transaction capability and consistency guarantee: ACID
>>
>> ·         Dynamic data flow engine through high speed UDP based
>> interconnect
>>
>> ·         Elastic execution engine based on virtual segment & data
>> locality
>>
>> ·         Support multiple level partitioning and List/Range based
>> partitioned tables.
>>
>> ·         Multiple compression method support: snappy, gzip, quicklz,
>> RLE
>>
>> ·         Multi-language user defined function support: python, perl,
>> java, c/c++, R
>>
>> ·         Advanced machine learning and data mining functionalities
>> through MADLib
>>
>> ·         Dynamic node expansion: in seconds
>>
>> ·         Most advanced three level resource management: Integrate with
>> YARN and hierarchical resource queues.
>>
>> ·         Easy access of all HDFS data and external system data (for
>> example, HBase)
>>
>> ·         Hadoop Native: from storage (HDFS), resource management (YARN)
>> to deployment (Ambari).
>>
>> ·         Authentication & Granular authorization: Kerberos, SSL and
>> role based access
>>
>> ·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 &
>> libYARN
>>
>> ·         Support most third party tools: Tableau, SAS et al.
>>
>> ·         Standard connectivity: JDBC/ODBC
>>
>>
>>
>> And the link here can give you more information around hawq:
>> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>>
>>
>>
>>
>>
>> And please also see the answers inline to your specific questions:
>>
>>
>>
>> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
>> adaryl.wakefield@hotmail.com> wrote:
>>
>> Silly question right? Thing is I’ve read a bit and watched some YouTube
>> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
>> it a true database or is it like Hive where I need to use HCatalog?
>>
>>
>>
>> It is a true database, you can think it is like a parallel postgres but
>> with much more functionalities and it works natively in hadoop world.
>> HCatalog is not necessary. But you can read data registered in HCatalog
>> with the new feature "hcatalog integration".
>>
>>
>>
>> Can I write data intensive applications against it using ODBC? Does it
>> enforce referential integrity? Does it have stored procedures?
>>
>>
>>
>> ODBC: yes, both JDBC/ODBC are supported
>>
>> referential integrity: currently not supported.
>>
>> Stored procedures: yes.
>>
>>
>>
>> B.
>>
>>
>>
>>
>>
>> Please let us know if you have any other questions.
>>
>>
>>
>> Cheers
>>
>> Lei
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> ============================================================================================================================
>> Disclaimer: This message and the information contained herein is
>> proprietary and confidential and subject to the Tech Mahindra policy
>> statement, you may review the policy at
>> http://www.techmahindra.com/Disclaimer.html externally
>> http://tim.techmahindra.com/tim/disclaimer.html internally within
>> TechMahindra.
>>
>> ============================================================================================================================
>>
>>
>

Re: what is Hawq?

Posted by Dan Baskette <db...@gmail.com>.
But HAWQ does manage its own storage on HDFS.  You can leverage native hawq format or Parquet.  It's PXF functions allows the querying of files in other formats.   So, by your (and my) definition it is indeed a database.  

Sent from my iPhone

> On Nov 13, 2015, at 7:08 PM, Bob Marshall <ma...@avalonconsult.com> wrote:
> 
> Chhavi Joshi is right on the money. A database is both a query execution tool and a data storage backend. HAWQ is executing against native Hadoop storage, i.e. HBase, HDFS, etc.
> 
> Robert L Marshall
> Senior Consultant | Avalon Consulting, LLC
> c: (210) 853-7041
> LinkedIn | Google+ | Twitter
> -------------------------------------------------------------------------------------------------------------
> This message (including any attachments) contains confidential information 
> intended for a specific individual and purpose, and is protected by law. If 
> you are not the intended recipient, you should delete this message. Any 
> disclosure, copying, or distribution of this message, or the taking of any 
> action based on it, is strictly prohibited.
> 
>> On Fri, Nov 13, 2015 at 10:41 AM, Chhavi Joshi <Ch...@techmahindra.com> wrote:
>> If you have HAWQ greenplum integration you can create the external tables in greenplum like HIVE.
>> 
>> For uploading the data into tables just need to put the file into hdfs.(same like external tables in HIVE)
>> 
>>  
>> 
>>  
>> 
>> I still believe HAWQ is only the SQL query engine not a database.
>> 
>>  
>> 
>> Chhavi
>> 
>> From: Atri Sharma [mailto:atri@apache.org] 
>> Sent: Friday, November 13, 2015 3:53 AM
>> 
>> 
>> To: user@hawq.incubator.apache.org
>> Subject: Re: what is Hawq?
>>  
>> 
>> Greenplum is open sourced.
>> 
>> The main difference is between the two engines is that HAWQ is more for Hadoop based systems whereas Greenplum is more towards regular FS. This is a very high level difference between the two, the differences are more detailed. But a single line difference between the two is the one I wrote.
>> 
>> On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <ad...@hotmail.com> wrote:
>> 
>> Is Greenplum free? I heard they open sourced it but I haven’t found anything but a community edition.
>> 
>>  
>> 
>> Adaryl "Bob" Wakefield, MBA
>> Principal
>> Mass Street Analytics, LLC
>> 913.938.6685
>> www.linkedin.com/in/bobwakefieldmba
>> Twitter: @BobLovesData
>> 
>>  
>> 
>> From: dortmont
>> 
>> Sent: Friday, November 13, 2015 2:42 AM
>> 
>> To: user@hawq.incubator.apache.org
>> 
>> Subject: Re: what is Hawq?
>> 
>>  
>> 
>> I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks like the most mature solution on Hadoop thanks to the postgresql based engine.
>> 
>>  
>> 
>> But why wouldn't I use Greenplum instead of HAWQ? It has even better performance and it supports updates.
>> 
>> 
>> Cheers
>> 
>>  
>> 
>> 2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:
>> 
>> +1 for transactions.
>> 
>> I think a major plus point is that HAWQ supports transactions,  and this enables a lot of critical workloads to be done on HAWQ.
>> 
>> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
>> 
>>  
>> 
>> Like what Bob said, HAWQ is a complete database and Drill is just a query engine.
>> 
>>  
>> 
>> And HAWQ has also a lot of other benefits over Drill, for example:
>> 
>>  
>> 
>> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can run all TPCDS queries without any changes. And support almost all third party tools, such as Tableau et al.
>> 
>> 2. Performance: proved the best in the hadoop world
>> 
>> 3. Scalability: high scalable via high speed UDP based interconnect.
>> 
>> 4. Transactions: as I know, drill does not support transactions. it is a nightmare for end users to keep consistency.
>> 
>> 5. Advanced resource management: HAWQ has the most advanced resource management. It natively supports YARN and easy to use hierarchical resource queues. Resources can be managed and enforced on query and operator level.
>> 
>>  
>> 
>> Cheers
>> 
>> Lei
>> 
>>  
>> 
>>  
>> 
>> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:
>> 
>> There are a lot of tools that do a lot of things. Believe me it’s a full time job keeping track of what is going on in the apache world. As I understand it, Drill is just a query engine while Hawq is an actual database...some what anyway.
>> 
>>  
>> 
>> Adaryl "Bob" Wakefield, MBA
>> Principal
>> Mass Street Analytics, LLC
>> 913.938.6685
>> www.linkedin.com/in/bobwakefieldmba
>> Twitter: @BobLovesData
>> 
>>  
>> 
>> From: Will Wagner
>> 
>> Sent: Thursday, November 12, 2015 7:42 AM
>> 
>> To: user@hawq.incubator.apache.org
>> 
>> Subject: Re: what is Hawq?
>> 
>>  
>> 
>> Hi Lie,
>> 
>> Great answer.
>> 
>> I have a follow up question. 
>> Everything HAWQ is capable of doing is already covered by Apache Drill.  Why do we need another tool?
>> 
>> Thank you, 
>> Will W
>> 
>> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>> 
>>  
>> 
>> Hi Bob,
>> 
>>  
>> 
>> Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:
>> ·         On-premise or cloud deployment
>> 
>> ·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
>> 
>> ·         Extremely high performance. many times faster than other Hadoop SQL engine.
>> 
>> ·         World-class parallel optimizer
>> 
>> ·         Full transaction capability and consistency guarantee: ACID
>> 
>> ·         Dynamic data flow engine through high speed UDP based interconnect
>> 
>> ·         Elastic execution engine based on virtual segment & data locality
>> 
>> ·         Support multiple level partitioning and List/Range based partitioned tables.
>> 
>> ·         Multiple compression method support: snappy, gzip, quicklz, RLE
>> 
>> ·         Multi-language user defined function support: python, perl, java, c/c++, R
>> 
>> ·         Advanced machine learning and data mining functionalities through MADLib
>> 
>> ·         Dynamic node expansion: in seconds
>> 
>> ·         Most advanced three level resource management: Integrate with YARN and hierarchical resource queues.
>> 
>> ·         Easy access of all HDFS data and external system data (for example, HBase)
>> 
>> ·         Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari).
>> 
>> ·         Authentication & Granular authorization: Kerberos, SSL and role based access
>> 
>> ·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
>> 
>> ·         Support most third party tools: Tableau, SAS et al.
>> 
>> ·         Standard connectivity: JDBC/ODBC
>> 
>>  
>> 
>> And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ 
>> 
>>  
>> 
>>  
>> 
>> And please also see the answers inline to your specific questions:
>> 
>>  
>> 
>> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:
>> 
>> Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog?
>> 
>>  
>> 
>> It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".
>> 
>>  
>> 
>> Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?
>> 
>>  
>> 
>> ODBC: yes, both JDBC/ODBC are supported
>> 
>> referential integrity: currently not supported.
>> 
>> Stored procedures: yes.
>> 
>>  
>> 
>> B.
>> 
>>  
>> 
>>  
>> 
>> Please let us know if you have any other questions.
>> 
>>  
>> 
>> Cheers
>> 
>> Lei
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>> ============================================================================================================================
>> Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
>> ============================================================================================================================
> 

Re: what is Hawq?

Posted by Bob Marshall <ma...@avalonconsult.com>.
Chhavi Joshi is right on the money. A database is both a query execution
tool and a data storage backend. HAWQ is executing against native Hadoop
storage, i.e. HBase, HDFS, etc.

Robert L Marshall
Senior Consultant | Avalon Consulting, LLC
<http://www.avalonconsult.com/>c: (210) 853-7041
LinkedIn <http://www.linkedin.com/company/avalon-consulting-llc> | Google+
<http://www.google.com/+AvalonConsultingLLC> | Twitter
<https://twitter.com/avalonconsult>
-------------------------------------------------------------------------------------------------------------
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message. Any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.

On Fri, Nov 13, 2015 at 10:41 AM, Chhavi Joshi <
Chhavi.Joshi@techmahindra.com> wrote:

> If you have HAWQ greenplum integration you can create the external tables
> in greenplum like HIVE.
>
> For uploading the data into tables just need to put the file into
> hdfs.(same like external tables in HIVE)
>
>
>
>
>
> I still believe HAWQ is only the SQL query engine not a database.
>
>
>
> Chhavi
>
> *From:* Atri Sharma [mailto:atri@apache.org]
> *Sent:* Friday, November 13, 2015 3:53 AM
>
> *To:* user@hawq.incubator.apache.org
> *Subject:* Re: what is Hawq?
>
>
>
> Greenplum is open sourced.
>
> The main difference is between the two engines is that HAWQ is more for
> Hadoop based systems whereas Greenplum is more towards regular FS. This is
> a very high level difference between the two, the differences are more
> detailed. But a single line difference between the two is the one I wrote.
>
> On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <
> adaryl.wakefield@hotmail.com> wrote:
>
> Is Greenplum free? I heard they open sourced it but I haven’t found
> anything but a community edition.
>
>
>
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>
>
>
> *From:* dortmont <do...@gmail.com>
>
> *Sent:* Friday, November 13, 2015 2:42 AM
>
> *To:* user@hawq.incubator.apache.org
>
> *Subject:* Re: what is Hawq?
>
>
>
> I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks
> like the most mature solution on Hadoop thanks to the postgresql based
> engine.
>
>
>
> But why wouldn't I use Greenplum instead of HAWQ? It has even better
> performance and it supports updates.
>
>
> Cheers
>
>
>
> 2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:
>
> +1 for transactions.
>
> I think a major plus point is that HAWQ supports transactions,  and this
> enables a lot of critical workloads to be done on HAWQ.
>
> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
>
>
>
> Like what Bob said, HAWQ is a complete database and Drill is just a query
> engine.
>
>
>
> And HAWQ has also a lot of other benefits over Drill, for example:
>
>
>
> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can
> run all TPCDS queries without any changes. And support almost all third
> party tools, such as Tableau et al.
>
> 2. Performance: proved the best in the hadoop world
>
> 3. Scalability: high scalable via high speed UDP based interconnect.
>
> 4. Transactions: as I know, drill does not support transactions. it is a
> nightmare for end users to keep consistency.
>
> 5. Advanced resource management: HAWQ has the most advanced resource
> management. It natively supports YARN and easy to use hierarchical resource
> queues. Resources can be managed and enforced on query and operator level.
>
>
>
> Cheers
>
> Lei
>
>
>
>
>
> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <
> adaryl.wakefield@hotmail.com> wrote:
>
> There are a lot of tools that do a lot of things. Believe me it’s a full
> time job keeping track of what is going on in the apache world. As I
> understand it, Drill is just a query engine while Hawq is an actual
> database...some what anyway.
>
>
>
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>
>
>
> *From:* Will Wagner <wo...@gmail.com>
>
> *Sent:* Thursday, November 12, 2015 7:42 AM
>
> *To:* user@hawq.incubator.apache.org
>
> *Subject:* Re: what is Hawq?
>
>
>
> Hi Lie,
>
> Great answer.
>
> I have a follow up question.
> Everything HAWQ is capable of doing is already covered by Apache Drill.
> Why do we need another tool?
>
> Thank you,
> Will W
>
> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>
>
>
> Hi Bob,
>
>
>
> Apache HAWQ is a Hadoop native SQL query engine that combines the key
> technological advantages of MPP database with the scalability and
> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
> natively. HAWQ delivers industry-leading performance and linear
> scalability. It provides users the tools to confidently and successfully
> interact with petabyte range data sets. HAWQ provides users with a
> complete, standards compliant SQL interface. More specifically, HAWQ has
> the following features:
>
> ·         On-premise or cloud deployment
>
> ·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP
> extension
>
> ·         Extremely high performance. many times faster than other Hadoop
> SQL engine.
>
> ·         World-class parallel optimizer
>
> ·         Full transaction capability and consistency guarantee: ACID
>
> ·         Dynamic data flow engine through high speed UDP based
> interconnect
>
> ·         Elastic execution engine based on virtual segment & data
> locality
>
> ·         Support multiple level partitioning and List/Range based
> partitioned tables.
>
> ·         Multiple compression method support: snappy, gzip, quicklz, RLE
>
> ·         Multi-language user defined function support: python, perl,
> java, c/c++, R
>
> ·         Advanced machine learning and data mining functionalities
> through MADLib
>
> ·         Dynamic node expansion: in seconds
>
> ·         Most advanced three level resource management: Integrate with
> YARN and hierarchical resource queues.
>
> ·         Easy access of all HDFS data and external system data (for
> example, HBase)
>
> ·         Hadoop Native: from storage (HDFS), resource management (YARN)
> to deployment (Ambari).
>
> ·         Authentication & Granular authorization: Kerberos, SSL and role
> based access
>
> ·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 &
> libYARN
>
> ·         Support most third party tools: Tableau, SAS et al.
>
> ·         Standard connectivity: JDBC/ODBC
>
>
>
> And the link here can give you more information around hawq:
> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>
>
>
>
>
> And please also see the answers inline to your specific questions:
>
>
>
> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
> adaryl.wakefield@hotmail.com> wrote:
>
> Silly question right? Thing is I’ve read a bit and watched some YouTube
> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
> it a true database or is it like Hive where I need to use HCatalog?
>
>
>
> It is a true database, you can think it is like a parallel postgres but
> with much more functionalities and it works natively in hadoop world.
> HCatalog is not necessary. But you can read data registered in HCatalog
> with the new feature "hcatalog integration".
>
>
>
> Can I write data intensive applications against it using ODBC? Does it
> enforce referential integrity? Does it have stored procedures?
>
>
>
> ODBC: yes, both JDBC/ODBC are supported
>
> referential integrity: currently not supported.
>
> Stored procedures: yes.
>
>
>
> B.
>
>
>
>
>
> Please let us know if you have any other questions.
>
>
>
> Cheers
>
> Lei
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> ============================================================================================================================
> Disclaimer: This message and the information contained herein is
> proprietary and confidential and subject to the Tech Mahindra policy
> statement, you may review the policy at
> http://www.techmahindra.com/Disclaimer.html externally
> http://tim.techmahindra.com/tim/disclaimer.html internally within
> TechMahindra.
>
> ============================================================================================================================
>
>

RE: what is Hawq?

Posted by Chhavi Joshi <Ch...@TechMahindra.com>.
If you have HAWQ greenplum integration you can create the external tables in greenplum like HIVE.
For uploading the data into tables just need to put the file into hdfs.(same like external tables in HIVE)


I still believe HAWQ is only the SQL query engine not a database.

Chhavi
From: Atri Sharma [mailto:atri@apache.org]
Sent: Friday, November 13, 2015 3:53 AM
To: user@hawq.incubator.apache.org
Subject: Re: what is Hawq?


Greenplum is open sourced.

The main difference is between the two engines is that HAWQ is more for Hadoop based systems whereas Greenplum is more towards regular FS. This is a very high level difference between the two, the differences are more detailed. But a single line difference between the two is the one I wrote.
On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <ad...@hotmail.com>> wrote:
Is Greenplum free? I heard they open sourced it but I haven’t found anything but a community edition.

Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685
www.linkedin.com/in/bobwakefieldmba<http://www.linkedin.com/in/bobwakefieldmba>
Twitter: @BobLovesData

From: dortmont<ma...@gmail.com>
Sent: Friday, November 13, 2015 2:42 AM
To: user@hawq.incubator.apache.org<ma...@hawq.incubator.apache.org>
Subject: Re: what is Hawq?

I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks like the most mature solution on Hadoop thanks to the postgresql based engine.

But why wouldn't I use Greenplum instead of HAWQ? It has even better performance and it supports updates.

Cheers

2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>>:

+1 for transactions.

I think a major plus point is that HAWQ supports transactions,  and this enables a lot of critical workloads to be done on HAWQ.
On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com>> wrote:

Like what Bob said, HAWQ is a complete database and Drill is just a query engine.

And HAWQ has also a lot of other benefits over Drill, for example:

1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can run all TPCDS queries without any changes. And support almost all third party tools, such as Tableau et al.
2. Performance: proved the best in the hadoop world
3. Scalability: high scalable via high speed UDP based interconnect.
4. Transactions: as I know, drill does not support transactions. it is a nightmare for end users to keep consistency.
5. Advanced resource management: HAWQ has the most advanced resource management. It natively supports YARN and easy to use hierarchical resource queues. Resources can be managed and enforced on query and operator level.

Cheers
Lei


On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com>> wrote:
There are a lot of tools that do a lot of things. Believe me it’s a full time job keeping track of what is going on in the apache world. As I understand it, Drill is just a query engine while Hawq is an actual database...some what anyway.

Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685<tel:913.938.6685>
www.linkedin.com/in/bobwakefieldmba<http://www.linkedin.com/in/bobwakefieldmba>
Twitter: @BobLovesData

From: Will Wagner<ma...@gmail.com>
Sent: Thursday, November 12, 2015 7:42 AM
To: user@hawq.incubator.apache.org<ma...@hawq.incubator.apache.org>
Subject: Re: what is Hawq?


Hi Lie,

Great answer.

I have a follow up question.
Everything HAWQ is capable of doing is already covered by Apache Drill.  Why do we need another tool?

Thank you,
Will W
On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com>> wrote:

Hi Bob,


Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:
·         On-premise or cloud deployment
·         Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
·         Extremely high performance. many times faster than other Hadoop SQL engine.
·         World-class parallel optimizer
·         Full transaction capability and consistency guarantee: ACID
·         Dynamic data flow engine through high speed UDP based interconnect
·         Elastic execution engine based on virtual segment & data locality
·         Support multiple level partitioning and List/Range based partitioned tables.
·         Multiple compression method support: snappy, gzip, quicklz, RLE
·         Multi-language user defined function support: python, perl, java, c/c++, R
·         Advanced machine learning and data mining functionalities through MADLib
·         Dynamic node expansion: in seconds
·         Most advanced three level resource management: Integrate with YARN and hierarchical resource queues.
·         Easy access of all HDFS data and external system data (for example, HBase)
·         Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari).
·         Authentication & Granular authorization: Kerberos, SSL and role based access
·         Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
·         Support most third party tools: Tableau, SAS et al.
·         Standard connectivity: JDBC/ODBC

And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ


And please also see the answers inline to your specific questions:

On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com>> wrote:
Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog?

It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".

Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?

ODBC: yes, both JDBC/ODBC are supported
referential integrity: currently not supported.
Stored procedures: yes.

B.


Please let us know if you have any other questions.

Cheers
Lei






============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================


Re: what is Hawq?

Posted by Atri Sharma <at...@apache.org>.
Greenplum is open sourced.

The main difference is between the two engines is that HAWQ is more for
Hadoop based systems whereas Greenplum is more towards regular FS. This is
a very high level difference between the two, the differences are more
detailed. But a single line difference between the two is the one I wrote.
On 13 Nov 2015 14:20, "Adaryl "Bob" Wakefield, MBA" <
adaryl.wakefield@hotmail.com> wrote:

> Is Greenplum free? I heard they open sourced it but I haven’t found
> anything but a community edition.
>
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>
> *From:* dortmont <do...@gmail.com>
> *Sent:* Friday, November 13, 2015 2:42 AM
> *To:* user@hawq.incubator.apache.org
> *Subject:* Re: what is Hawq?
>
> I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks
> like the most mature solution on Hadoop thanks to the postgresql based
> engine.
>
> But why wouldn't I use Greenplum instead of HAWQ? It has even better
> performance and it supports updates.
>
> Cheers
>
> 2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:
>
>> +1 for transactions.
>>
>> I think a major plus point is that HAWQ supports transactions,  and this
>> enables a lot of critical workloads to be done on HAWQ.
>> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
>>
>>>
>>> Like what Bob said, HAWQ is a complete database and Drill is just a
>>> query engine.
>>>
>>> And HAWQ has also a lot of other benefits over Drill, for example:
>>>
>>> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can
>>> run all TPCDS queries without any changes. And support almost all third
>>> party tools, such as Tableau et al.
>>> 2. Performance: proved the best in the hadoop world
>>> 3. Scalability: high scalable via high speed UDP based interconnect.
>>> 4. Transactions: as I know, drill does not support transactions. it is a
>>> nightmare for end users to keep consistency.
>>> 5. Advanced resource management: HAWQ has the most advanced resource
>>> management. It natively supports YARN and easy to use hierarchical resource
>>> queues. Resources can be managed and enforced on query and operator level.
>>>
>>> Cheers
>>> Lei
>>>
>>>
>>> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <
>>> adaryl.wakefield@hotmail.com> wrote:
>>>
>>>> There are a lot of tools that do a lot of things. Believe me it’s a
>>>> full time job keeping track of what is going on in the apache world. As I
>>>> understand it, Drill is just a query engine while Hawq is an actual
>>>> database...some what anyway.
>>>>
>>>> Adaryl "Bob" Wakefield, MBA
>>>> Principal
>>>> Mass Street Analytics, LLC
>>>> 913.938.6685
>>>> www.linkedin.com/in/bobwakefieldmba
>>>> Twitter: @BobLovesData
>>>>
>>>> *From:* Will Wagner <wo...@gmail.com>
>>>> *Sent:* Thursday, November 12, 2015 7:42 AM
>>>> *To:* user@hawq.incubator.apache.org
>>>> *Subject:* Re: what is Hawq?
>>>>
>>>>
>>>> Hi Lie,
>>>>
>>>> Great answer.
>>>>
>>>> I have a follow up question.
>>>> Everything HAWQ is capable of doing is already covered by Apache
>>>> Drill.  Why do we need another tool?
>>>>
>>>> Thank you,
>>>> Will W
>>>> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>>>>
>>>>>
>>>>> Hi Bob,
>>>>>
>>>>>
>>>>> Apache HAWQ is a Hadoop native SQL query engine that combines the key
>>>>> technological advantages of MPP database with the scalability and
>>>>> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
>>>>> natively. HAWQ delivers industry-leading performance and linear
>>>>> scalability. It provides users the tools to confidently and successfully
>>>>> interact with petabyte range data sets. HAWQ provides users with a
>>>>> complete, standards compliant SQL interface. More specifically, HAWQ has
>>>>> the following features:
>>>>>
>>>>>    - On-premise or cloud deployment
>>>>>    - Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP
>>>>>    extension
>>>>>    - Extremely high performance. many times faster than other Hadoop
>>>>>    SQL engine.
>>>>>    - World-class parallel optimizer
>>>>>    - Full transaction capability and consistency guarantee: ACID
>>>>>    - Dynamic data flow engine through high speed UDP based
>>>>>    interconnect
>>>>>    - Elastic execution engine based on virtual segment & data
>>>>>    locality
>>>>>    - Support multiple level partitioning and List/Range based
>>>>>    partitioned tables.
>>>>>    - Multiple compression method support: snappy, gzip, quicklz, RLE
>>>>>    - Multi-language user defined function support: python, perl,
>>>>>    java, c/c++, R
>>>>>    - Advanced machine learning and data mining functionalities
>>>>>    through MADLib
>>>>>    - Dynamic node expansion: in seconds
>>>>>    - Most advanced three level resource management: Integrate with
>>>>>    YARN and hierarchical resource queues.
>>>>>    - Easy access of all HDFS data and external system data (for
>>>>>    example, HBase)
>>>>>    - Hadoop Native: from storage (HDFS), resource management (YARN)
>>>>>    to deployment (Ambari).
>>>>>    - Authentication & Granular authorization: Kerberos, SSL and role
>>>>>    based access
>>>>>    - Advanced C/C++ access library to HDFS and YARN: libhdfs3 &
>>>>>    libYARN
>>>>>    - Support most third party tools: Tableau, SAS et al.
>>>>>    - Standard connectivity: JDBC/ODBC
>>>>>
>>>>>
>>>>> And the link here can give you more information around hawq:
>>>>> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>>>>>
>>>>>
>>>>> And please also see the answers inline to your specific questions:
>>>>>
>>>>> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
>>>>> adaryl.wakefield@hotmail.com> wrote:
>>>>>
>>>>>> Silly question right? Thing is I’ve read a bit and watched some
>>>>>> YouTube videos and I’m still not quite sure what I can and can’t do with
>>>>>> Hawq. Is it a true database or is it like Hive where I need to use
>>>>>> HCatalog?
>>>>>>
>>>>>
>>>>> It is a true database, you can think it is like a parallel postgres
>>>>> but with much more functionalities and it works natively in hadoop world.
>>>>> HCatalog is not necessary. But you can read data registered in HCatalog
>>>>> with the new feature "hcatalog integration".
>>>>>
>>>>>
>>>>>> Can I write data intensive applications against it using ODBC? Does
>>>>>> it enforce referential integrity? Does it have stored procedures?
>>>>>>
>>>>>
>>>>> ODBC: yes, both JDBC/ODBC are supported
>>>>> referential integrity: currently not supported.
>>>>> Stored procedures: yes.
>>>>>
>>>>>
>>>>>> B.
>>>>>>
>>>>>
>>>>>
>>>>> Please let us know if you have any other questions.
>>>>>
>>>>> Cheers
>>>>> Lei
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: what is Hawq?

Posted by "Adaryl \"Bob\" Wakefield, MBA" <ad...@hotmail.com>.
Is Greenplum free? I heard they open sourced it but I haven’t found anything but a community edition.

Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685
www.linkedin.com/in/bobwakefieldmba
Twitter: @BobLovesData

From: dortmont 
Sent: Friday, November 13, 2015 2:42 AM
To: user@hawq.incubator.apache.org 
Subject: Re: what is Hawq?

I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks like the most mature solution on Hadoop thanks to the postgresql based engine. 

But why wouldn't I use Greenplum instead of HAWQ? It has even better performance and it supports updates.

Cheers

2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:

  +1 for transactions.

  I think a major plus point is that HAWQ supports transactions,  and this enables a lot of critical workloads to be done on HAWQ.

  On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:


    Like what Bob said, HAWQ is a complete database and Drill is just a query engine. 

    And HAWQ has also a lot of other benefits over Drill, for example:

    1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can run all TPCDS queries without any changes. And support almost all third party tools, such as Tableau et al.
    2. Performance: proved the best in the hadoop world
    3. Scalability: high scalable via high speed UDP based interconnect.
    4. Transactions: as I know, drill does not support transactions. it is a nightmare for end users to keep consistency.

    5. Advanced resource management: HAWQ has the most advanced resource management. It natively supports YARN and easy to use hierarchical resource queues. Resources can be managed and enforced on query and operator level.

    Cheers
    Lei


    On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:

      There are a lot of tools that do a lot of things. Believe me it’s a full time job keeping track of what is going on in the apache world. As I understand it, Drill is just a query engine while Hawq is an actual database...some what anyway.

      Adaryl "Bob" Wakefield, MBA
      Principal
      Mass Street Analytics, LLC
      913.938.6685
      www.linkedin.com/in/bobwakefieldmba
      Twitter: @BobLovesData

      From: Will Wagner 
      Sent: Thursday, November 12, 2015 7:42 AM
      To: user@hawq.incubator.apache.org 
      Subject: Re: what is Hawq?

      Hi Lie,

      Great answer. 

      I have a follow up question. 
      Everything HAWQ is capable of doing is already covered by Apache Drill.  Why do we need another tool?

      Thank you, 
      Will W 

      On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:


        Hi Bob, 

        Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:

          a.. On-premise or cloud deployment 
          b.. Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension 
          c.. Extremely high performance. many times faster than other Hadoop SQL engine. 
          d.. World-class parallel optimizer 
          e.. Full transaction capability and consistency guarantee: ACID 
          f.. Dynamic data flow engine through high speed UDP based interconnect 
          g.. Elastic execution engine based on virtual segment & data locality 
          h.. Support multiple level partitioning and List/Range based partitioned tables. 
          i.. Multiple compression method support: snappy, gzip, quicklz, RLE 
          j.. Multi-language user defined function support: python, perl, java, c/c++, R 
          k.. Advanced machine learning and data mining functionalities through MADLib 
          l.. Dynamic node expansion: in seconds 
          m.. Most advanced three level resource management: Integrate with YARN and hierarchical resource queues. 
          n.. Easy access of all HDFS data and external system data (for example, HBase) 
          o.. Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari). 
          p.. Authentication & Granular authorization: Kerberos, SSL and role based access 
          q.. Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN 
          r.. Support most third party tools: Tableau, SAS et al.

          s.. Standard connectivity: JDBC/ODBC

        And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ 



        And please also see the answers inline to your specific questions:

        On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:

          Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog? 

        It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".

          Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?

        ODBC: yes, both JDBC/ODBC are supported
        referential integrity: currently not supported.
        Stored procedures: yes.

          B.


        Please let us know if you have any other questions.

        Cheers
        Lei




Re: what is Hawq?

Posted by dortmont <do...@gmail.com>.
I see the advantage of HAWQ compared to other Hadoop SQL engines. It looks
like the most mature solution on Hadoop thanks to the postgresql based
engine.

But why wouldn't I use Greenplum instead of HAWQ? It has even better
performance and it supports updates.

Cheers

2015-11-13 7:45 GMT+01:00 Atri Sharma <at...@apache.org>:

> +1 for transactions.
>
> I think a major plus point is that HAWQ supports transactions,  and this
> enables a lot of critical workloads to be done on HAWQ.
> On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:
>
>>
>> Like what Bob said, HAWQ is a complete database and Drill is just a query
>> engine.
>>
>> And HAWQ has also a lot of other benefits over Drill, for example:
>>
>> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can
>> run all TPCDS queries without any changes. And support almost all third
>> party tools, such as Tableau et al.
>> 2. Performance: proved the best in the hadoop world
>> 3. Scalability: high scalable via high speed UDP based interconnect.
>> 4. Transactions: as I know, drill does not support transactions. it is a
>> nightmare for end users to keep consistency.
>> 5. Advanced resource management: HAWQ has the most advanced resource
>> management. It natively supports YARN and easy to use hierarchical resource
>> queues. Resources can be managed and enforced on query and operator level.
>>
>> Cheers
>> Lei
>>
>>
>> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <
>> adaryl.wakefield@hotmail.com> wrote:
>>
>>> There are a lot of tools that do a lot of things. Believe me it’s a full
>>> time job keeping track of what is going on in the apache world. As I
>>> understand it, Drill is just a query engine while Hawq is an actual
>>> database...some what anyway.
>>>
>>> Adaryl "Bob" Wakefield, MBA
>>> Principal
>>> Mass Street Analytics, LLC
>>> 913.938.6685
>>> www.linkedin.com/in/bobwakefieldmba
>>> Twitter: @BobLovesData
>>>
>>> *From:* Will Wagner <wo...@gmail.com>
>>> *Sent:* Thursday, November 12, 2015 7:42 AM
>>> *To:* user@hawq.incubator.apache.org
>>> *Subject:* Re: what is Hawq?
>>>
>>>
>>> Hi Lie,
>>>
>>> Great answer.
>>>
>>> I have a follow up question.
>>> Everything HAWQ is capable of doing is already covered by Apache Drill.
>>> Why do we need another tool?
>>>
>>> Thank you,
>>> Will W
>>> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>>>
>>>>
>>>> Hi Bob,
>>>>
>>>>
>>>> Apache HAWQ is a Hadoop native SQL query engine that combines the key
>>>> technological advantages of MPP database with the scalability and
>>>> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
>>>> natively. HAWQ delivers industry-leading performance and linear
>>>> scalability. It provides users the tools to confidently and successfully
>>>> interact with petabyte range data sets. HAWQ provides users with a
>>>> complete, standards compliant SQL interface. More specifically, HAWQ has
>>>> the following features:
>>>>
>>>>    - On-premise or cloud deployment
>>>>    - Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP
>>>>    extension
>>>>    - Extremely high performance. many times faster than other Hadoop
>>>>    SQL engine.
>>>>    - World-class parallel optimizer
>>>>    - Full transaction capability and consistency guarantee: ACID
>>>>    - Dynamic data flow engine through high speed UDP based
>>>>    interconnect
>>>>    - Elastic execution engine based on virtual segment & data locality
>>>>    - Support multiple level partitioning and List/Range based
>>>>    partitioned tables.
>>>>    - Multiple compression method support: snappy, gzip, quicklz, RLE
>>>>    - Multi-language user defined function support: python, perl, java,
>>>>    c/c++, R
>>>>    - Advanced machine learning and data mining functionalities through
>>>>    MADLib
>>>>    - Dynamic node expansion: in seconds
>>>>    - Most advanced three level resource management: Integrate with
>>>>    YARN and hierarchical resource queues.
>>>>    - Easy access of all HDFS data and external system data (for
>>>>    example, HBase)
>>>>    - Hadoop Native: from storage (HDFS), resource management (YARN) to
>>>>    deployment (Ambari).
>>>>    - Authentication & Granular authorization: Kerberos, SSL and role
>>>>    based access
>>>>    - Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
>>>>    - Support most third party tools: Tableau, SAS et al.
>>>>    - Standard connectivity: JDBC/ODBC
>>>>
>>>>
>>>> And the link here can give you more information around hawq:
>>>> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>>>>
>>>>
>>>> And please also see the answers inline to your specific questions:
>>>>
>>>> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
>>>> adaryl.wakefield@hotmail.com> wrote:
>>>>
>>>>> Silly question right? Thing is I’ve read a bit and watched some
>>>>> YouTube videos and I’m still not quite sure what I can and can’t do with
>>>>> Hawq. Is it a true database or is it like Hive where I need to use
>>>>> HCatalog?
>>>>>
>>>>
>>>> It is a true database, you can think it is like a parallel postgres but
>>>> with much more functionalities and it works natively in hadoop world.
>>>> HCatalog is not necessary. But you can read data registered in HCatalog
>>>> with the new feature "hcatalog integration".
>>>>
>>>>
>>>>> Can I write data intensive applications against it using ODBC? Does it
>>>>> enforce referential integrity? Does it have stored procedures?
>>>>>
>>>>
>>>> ODBC: yes, both JDBC/ODBC are supported
>>>> referential integrity: currently not supported.
>>>> Stored procedures: yes.
>>>>
>>>>
>>>>> B.
>>>>>
>>>>
>>>>
>>>> Please let us know if you have any other questions.
>>>>
>>>> Cheers
>>>> Lei
>>>>
>>>>
>>>>
>>>
>>

Re: what is Hawq?

Posted by Atri Sharma <at...@apache.org>.
+1 for transactions.

I think a major plus point is that HAWQ supports transactions,  and this
enables a lot of critical workloads to be done on HAWQ.
On 13 Nov 2015 12:13, "Lei Chang" <ch...@gmail.com> wrote:

>
> Like what Bob said, HAWQ is a complete database and Drill is just a query
> engine.
>
> And HAWQ has also a lot of other benefits over Drill, for example:
>
> 1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can
> run all TPCDS queries without any changes. And support almost all third
> party tools, such as Tableau et al.
> 2. Performance: proved the best in the hadoop world
> 3. Scalability: high scalable via high speed UDP based interconnect.
> 4. Transactions: as I know, drill does not support transactions. it is a
> nightmare for end users to keep consistency.
> 5. Advanced resource management: HAWQ has the most advanced resource
> management. It natively supports YARN and easy to use hierarchical resource
> queues. Resources can be managed and enforced on query and operator level.
>
> Cheers
> Lei
>
>
> On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <
> adaryl.wakefield@hotmail.com> wrote:
>
>> There are a lot of tools that do a lot of things. Believe me it’s a full
>> time job keeping track of what is going on in the apache world. As I
>> understand it, Drill is just a query engine while Hawq is an actual
>> database...some what anyway.
>>
>> Adaryl "Bob" Wakefield, MBA
>> Principal
>> Mass Street Analytics, LLC
>> 913.938.6685
>> www.linkedin.com/in/bobwakefieldmba
>> Twitter: @BobLovesData
>>
>> *From:* Will Wagner <wo...@gmail.com>
>> *Sent:* Thursday, November 12, 2015 7:42 AM
>> *To:* user@hawq.incubator.apache.org
>> *Subject:* Re: what is Hawq?
>>
>>
>> Hi Lie,
>>
>> Great answer.
>>
>> I have a follow up question.
>> Everything HAWQ is capable of doing is already covered by Apache Drill.
>> Why do we need another tool?
>>
>> Thank you,
>> Will W
>> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>>
>>>
>>> Hi Bob,
>>>
>>>
>>> Apache HAWQ is a Hadoop native SQL query engine that combines the key
>>> technological advantages of MPP database with the scalability and
>>> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
>>> natively. HAWQ delivers industry-leading performance and linear
>>> scalability. It provides users the tools to confidently and successfully
>>> interact with petabyte range data sets. HAWQ provides users with a
>>> complete, standards compliant SQL interface. More specifically, HAWQ has
>>> the following features:
>>>
>>>    - On-premise or cloud deployment
>>>    - Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP
>>>    extension
>>>    - Extremely high performance. many times faster than other Hadoop
>>>    SQL engine.
>>>    - World-class parallel optimizer
>>>    - Full transaction capability and consistency guarantee: ACID
>>>    - Dynamic data flow engine through high speed UDP based interconnect
>>>    - Elastic execution engine based on virtual segment & data locality
>>>    - Support multiple level partitioning and List/Range based
>>>    partitioned tables.
>>>    - Multiple compression method support: snappy, gzip, quicklz, RLE
>>>    - Multi-language user defined function support: python, perl, java,
>>>    c/c++, R
>>>    - Advanced machine learning and data mining functionalities through
>>>    MADLib
>>>    - Dynamic node expansion: in seconds
>>>    - Most advanced three level resource management: Integrate with YARN
>>>    and hierarchical resource queues.
>>>    - Easy access of all HDFS data and external system data (for
>>>    example, HBase)
>>>    - Hadoop Native: from storage (HDFS), resource management (YARN) to
>>>    deployment (Ambari).
>>>    - Authentication & Granular authorization: Kerberos, SSL and role
>>>    based access
>>>    - Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
>>>    - Support most third party tools: Tableau, SAS et al.
>>>    - Standard connectivity: JDBC/ODBC
>>>
>>>
>>> And the link here can give you more information around hawq:
>>> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>>>
>>>
>>> And please also see the answers inline to your specific questions:
>>>
>>> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
>>> adaryl.wakefield@hotmail.com> wrote:
>>>
>>>> Silly question right? Thing is I’ve read a bit and watched some YouTube
>>>> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
>>>> it a true database or is it like Hive where I need to use HCatalog?
>>>>
>>>
>>> It is a true database, you can think it is like a parallel postgres but
>>> with much more functionalities and it works natively in hadoop world.
>>> HCatalog is not necessary. But you can read data registered in HCatalog
>>> with the new feature "hcatalog integration".
>>>
>>>
>>>> Can I write data intensive applications against it using ODBC? Does it
>>>> enforce referential integrity? Does it have stored procedures?
>>>>
>>>
>>> ODBC: yes, both JDBC/ODBC are supported
>>> referential integrity: currently not supported.
>>> Stored procedures: yes.
>>>
>>>
>>>> B.
>>>>
>>>
>>>
>>> Please let us know if you have any other questions.
>>>
>>> Cheers
>>> Lei
>>>
>>>
>>>
>>
>

Re: what is Hawq?

Posted by Lei Chang <ch...@gmail.com>.
Like what Bob said, HAWQ is a complete database and Drill is just a query
engine.

And HAWQ has also a lot of other benefits over Drill, for example:

1. SQL completeness: HAWQ is the best for the sql-on-hadoop engines, can
run all TPCDS queries without any changes. And support almost all third
party tools, such as Tableau et al.
2. Performance: proved the best in the hadoop world
3. Scalability: high scalable via high speed UDP based interconnect.
4. Transactions: as I know, drill does not support transactions. it is a
nightmare for end users to keep consistency.
5. Advanced resource management: HAWQ has the most advanced resource
management. It natively supports YARN and easy to use hierarchical resource
queues. Resources can be managed and enforced on query and operator level.

Cheers
Lei


On Fri, Nov 13, 2015 at 9:34 AM, Adaryl "Bob" Wakefield, MBA <
adaryl.wakefield@hotmail.com> wrote:

> There are a lot of tools that do a lot of things. Believe me it’s a full
> time job keeping track of what is going on in the apache world. As I
> understand it, Drill is just a query engine while Hawq is an actual
> database...some what anyway.
>
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>
> *From:* Will Wagner <wo...@gmail.com>
> *Sent:* Thursday, November 12, 2015 7:42 AM
> *To:* user@hawq.incubator.apache.org
> *Subject:* Re: what is Hawq?
>
>
> Hi Lie,
>
> Great answer.
>
> I have a follow up question.
> Everything HAWQ is capable of doing is already covered by Apache Drill.
> Why do we need another tool?
>
> Thank you,
> Will W
> On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:
>
>>
>> Hi Bob,
>>
>>
>> Apache HAWQ is a Hadoop native SQL query engine that combines the key
>> technological advantages of MPP database with the scalability and
>> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
>> natively. HAWQ delivers industry-leading performance and linear
>> scalability. It provides users the tools to confidently and successfully
>> interact with petabyte range data sets. HAWQ provides users with a
>> complete, standards compliant SQL interface. More specifically, HAWQ has
>> the following features:
>>
>>    - On-premise or cloud deployment
>>    - Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP
>>    extension
>>    - Extremely high performance. many times faster than other Hadoop SQL
>>    engine.
>>    - World-class parallel optimizer
>>    - Full transaction capability and consistency guarantee: ACID
>>    - Dynamic data flow engine through high speed UDP based interconnect
>>    - Elastic execution engine based on virtual segment & data locality
>>    - Support multiple level partitioning and List/Range based
>>    partitioned tables.
>>    - Multiple compression method support: snappy, gzip, quicklz, RLE
>>    - Multi-language user defined function support: python, perl, java,
>>    c/c++, R
>>    - Advanced machine learning and data mining functionalities through
>>    MADLib
>>    - Dynamic node expansion: in seconds
>>    - Most advanced three level resource management: Integrate with YARN
>>    and hierarchical resource queues.
>>    - Easy access of all HDFS data and external system data (for example,
>>    HBase)
>>    - Hadoop Native: from storage (HDFS), resource management (YARN) to
>>    deployment (Ambari).
>>    - Authentication & Granular authorization: Kerberos, SSL and role
>>    based access
>>    - Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
>>    - Support most third party tools: Tableau, SAS et al.
>>    - Standard connectivity: JDBC/ODBC
>>
>>
>> And the link here can give you more information around hawq:
>> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>>
>>
>> And please also see the answers inline to your specific questions:
>>
>> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
>> adaryl.wakefield@hotmail.com> wrote:
>>
>>> Silly question right? Thing is I’ve read a bit and watched some YouTube
>>> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
>>> it a true database or is it like Hive where I need to use HCatalog?
>>>
>>
>> It is a true database, you can think it is like a parallel postgres but
>> with much more functionalities and it works natively in hadoop world.
>> HCatalog is not necessary. But you can read data registered in HCatalog
>> with the new feature "hcatalog integration".
>>
>>
>>> Can I write data intensive applications against it using ODBC? Does it
>>> enforce referential integrity? Does it have stored procedures?
>>>
>>
>> ODBC: yes, both JDBC/ODBC are supported
>> referential integrity: currently not supported.
>> Stored procedures: yes.
>>
>>
>>> B.
>>>
>>
>>
>> Please let us know if you have any other questions.
>>
>> Cheers
>> Lei
>>
>>
>>
>

Re: what is Hawq?

Posted by "Adaryl \"Bob\" Wakefield, MBA" <ad...@hotmail.com>.
There are a lot of tools that do a lot of things. Believe me it’s a full time job keeping track of what is going on in the apache world. As I understand it, Drill is just a query engine while Hawq is an actual database...some what anyway.

Adaryl "Bob" Wakefield, MBA
Principal
Mass Street Analytics, LLC
913.938.6685
www.linkedin.com/in/bobwakefieldmba
Twitter: @BobLovesData

From: Will Wagner 
Sent: Thursday, November 12, 2015 7:42 AM
To: user@hawq.incubator.apache.org 
Subject: Re: what is Hawq?

Hi Lie,

Great answer. 

I have a follow up question. 
Everything HAWQ is capable of doing is already covered by Apache Drill.  Why do we need another tool?

Thank you, 
Will W 

On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:


  Hi Bob, 

  Apache HAWQ is a Hadoop native SQL query engine that combines the key technological advantages of MPP database with the scalability and convenience of Hadoop. HAWQ reads data from and writes data to HDFS natively. HAWQ delivers industry-leading performance and linear scalability. It provides users the tools to confidently and successfully interact with petabyte range data sets. HAWQ provides users with a complete, standards compliant SQL interface. More specifically, HAWQ has the following features:

    a.. On-premise or cloud deployment 
    b.. Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension 
    c.. Extremely high performance. many times faster than other Hadoop SQL engine. 
    d.. World-class parallel optimizer 
    e.. Full transaction capability and consistency guarantee: ACID 
    f.. Dynamic data flow engine through high speed UDP based interconnect 
    g.. Elastic execution engine based on virtual segment & data locality 
    h.. Support multiple level partitioning and List/Range based partitioned tables. 
    i.. Multiple compression method support: snappy, gzip, quicklz, RLE 
    j.. Multi-language user defined function support: python, perl, java, c/c++, R 
    k.. Advanced machine learning and data mining functionalities through MADLib 
    l.. Dynamic node expansion: in seconds 
    m.. Most advanced three level resource management: Integrate with YARN and hierarchical resource queues. 
    n.. Easy access of all HDFS data and external system data (for example, HBase) 
    o.. Hadoop Native: from storage (HDFS), resource management (YARN) to deployment (Ambari). 
    p.. Authentication & Granular authorization: Kerberos, SSL and role based access 
    q.. Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN 
    r.. Support most third party tools: Tableau, SAS et al.

    s.. Standard connectivity: JDBC/ODBC

  And the link here can give you more information around hawq: https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ 



  And please also see the answers inline to your specific questions:

  On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <ad...@hotmail.com> wrote:

    Silly question right? Thing is I’ve read a bit and watched some YouTube videos and I’m still not quite sure what I can and can’t do with Hawq. Is it a true database or is it like Hive where I need to use HCatalog? 

  It is a true database, you can think it is like a parallel postgres but with much more functionalities and it works natively in hadoop world. HCatalog is not necessary. But you can read data registered in HCatalog with the new feature "hcatalog integration".

    Can I write data intensive applications against it using ODBC? Does it enforce referential integrity? Does it have stored procedures?

  ODBC: yes, both JDBC/ODBC are supported
  referential integrity: currently not supported.
  Stored procedures: yes.

    B.


  Please let us know if you have any other questions.

  Cheers
  Lei


Re: what is Hawq?

Posted by Will Wagner <wo...@gmail.com>.
Hi Lie,

Great answer.

I have a follow up question.
Everything HAWQ is capable of doing is already covered by Apache Drill.
Why do we need another tool?

Thank you,
Will W
On Nov 12, 2015 12:25 AM, "Lei Chang" <ch...@gmail.com> wrote:

>
> Hi Bob,
>
> Apache HAWQ is a Hadoop native SQL query engine that combines the key
> technological advantages of MPP database with the scalability and
> convenience of Hadoop. HAWQ reads data from and writes data to HDFS
> natively. HAWQ delivers industry-leading performance and linear
> scalability. It provides users the tools to confidently and successfully
> interact with petabyte range data sets. HAWQ provides users with a
> complete, standards compliant SQL interface. More specifically, HAWQ has
> the following features:
>
>    - On-premise or cloud deployment
>    - Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
>    - Extremely high performance. many times faster than other Hadoop SQL
>    engine.
>    - World-class parallel optimizer
>    - Full transaction capability and consistency guarantee: ACID
>    - Dynamic data flow engine through high speed UDP based interconnect
>    - Elastic execution engine based on virtual segment & data locality
>    - Support multiple level partitioning and List/Range based partitioned
>    tables.
>    - Multiple compression method support: snappy, gzip, quicklz, RLE
>    - Multi-language user defined function support: python, perl, java,
>    c/c++, R
>    - Advanced machine learning and data mining functionalities through
>    MADLib
>    - Dynamic node expansion: in seconds
>    - Most advanced three level resource management: Integrate with YARN
>    and hierarchical resource queues.
>    - Easy access of all HDFS data and external system data (for example,
>    HBase)
>    - Hadoop Native: from storage (HDFS), resource management (YARN) to
>    deployment (Ambari).
>    - Authentication & Granular authorization: Kerberos, SSL and role
>    based access
>    - Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
>    - Support most third party tools: Tableau, SAS et al.
>    - Standard connectivity: JDBC/ODBC
>
>
> And the link here can give you more information around hawq:
> https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ
>
>
> And please also see the answers inline to your specific questions:
>
> On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
> adaryl.wakefield@hotmail.com> wrote:
>
>> Silly question right? Thing is I’ve read a bit and watched some YouTube
>> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
>> it a true database or is it like Hive where I need to use HCatalog?
>>
>
> It is a true database, you can think it is like a parallel postgres but
> with much more functionalities and it works natively in hadoop world.
> HCatalog is not necessary. But you can read data registered in HCatalog
> with the new feature "hcatalog integration".
>
>
>> Can I write data intensive applications against it using ODBC? Does it
>> enforce referential integrity? Does it have stored procedures?
>>
>
> ODBC: yes, both JDBC/ODBC are supported
> referential integrity: currently not supported.
> Stored procedures: yes.
>
>
>> B.
>>
>
>
> Please let us know if you have any other questions.
>
> Cheers
> Lei
>
>
>

Re: what is Hawq?

Posted by Lei Chang <ch...@gmail.com>.
Hi Bob,

Apache HAWQ is a Hadoop native SQL query engine that combines the key
technological advantages of MPP database with the scalability and
convenience of Hadoop. HAWQ reads data from and writes data to HDFS
natively. HAWQ delivers industry-leading performance and linear
scalability. It provides users the tools to confidently and successfully
interact with petabyte range data sets. HAWQ provides users with a
complete, standards compliant SQL interface. More specifically, HAWQ has
the following features:

   - On-premise or cloud deployment
   - Robust ANSI SQL compliance: SQL-92, SQL-99, SQL-2003, OLAP extension
   - Extremely high performance. many times faster than other Hadoop SQL
   engine.
   - World-class parallel optimizer
   - Full transaction capability and consistency guarantee: ACID
   - Dynamic data flow engine through high speed UDP based interconnect
   - Elastic execution engine based on virtual segment & data locality
   - Support multiple level partitioning and List/Range based partitioned
   tables.
   - Multiple compression method support: snappy, gzip, quicklz, RLE
   - Multi-language user defined function support: python, perl, java,
   c/c++, R
   - Advanced machine learning and data mining functionalities through
   MADLib
   - Dynamic node expansion: in seconds
   - Most advanced three level resource management: Integrate with YARN and
   hierarchical resource queues.
   - Easy access of all HDFS data and external system data (for example,
   HBase)
   - Hadoop Native: from storage (HDFS), resource management (YARN) to
   deployment (Ambari).
   - Authentication & Granular authorization: Kerberos, SSL and role based
   access
   - Advanced C/C++ access library to HDFS and YARN: libhdfs3 & libYARN
   - Support most third party tools: Tableau, SAS et al.
   - Standard connectivity: JDBC/ODBC


And the link here can give you more information around hawq:
https://cwiki.apache.org/confluence/display/HAWQ/About+HAWQ


And please also see the answers inline to your specific questions:

On Thu, Nov 12, 2015 at 4:09 PM, Adaryl "Bob" Wakefield, MBA <
adaryl.wakefield@hotmail.com> wrote:

> Silly question right? Thing is I’ve read a bit and watched some YouTube
> videos and I’m still not quite sure what I can and can’t do with Hawq. Is
> it a true database or is it like Hive where I need to use HCatalog?
>

It is a true database, you can think it is like a parallel postgres but
with much more functionalities and it works natively in hadoop world.
HCatalog is not necessary. But you can read data registered in HCatalog
with the new feature "hcatalog integration".


> Can I write data intensive applications against it using ODBC? Does it
> enforce referential integrity? Does it have stored procedures?
>

ODBC: yes, both JDBC/ODBC are supported
referential integrity: currently not supported.
Stored procedures: yes.


> B.
>


Please let us know if you have any other questions.

Cheers
Lei