hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Tolpeko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11354) HPL/SQL extending compatibility with Transact-SQL
Date Thu, 23 Jul 2015 14:13:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638890#comment-14638890
] 

Dmitry Tolpeko commented on HIVE-11354:
---------------------------------------

An example:

{code}
USE [default]
GO
ALTER PROCEDURE spTest1
  @lim INT
AS
  DECLARE @cnt int
  SET @cnt = 0
  SELECT @cnt = COUNT(*) from src LIMIT @lim
  IF @cnt <= 0
    SELECT 'Failed' FROM src LIMIT 1
  ELSE 
    BEGIN
      SELECT 'Correct' FROM src LIMIT 1
    END
GO

EXEC spTest1 @lim = 3
GO
{code}

> HPL/SQL extending compatibility with Transact-SQL
> -------------------------------------------------
>
>                 Key: HIVE-11354
>                 URL: https://issues.apache.org/jira/browse/HIVE-11354
>             Project: Hive
>          Issue Type: Improvement
>          Components: hpl/sql
>            Reporter: Dmitry Tolpeko
>            Assignee: Dmitry Tolpeko
>
> Although HPL/SQL already supports some Transact-SQL language elements (declarations,
flow-of-control stmts, assignments and so on) some other widely used constructs are not supported
yet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message