Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add two more bug fixes to Create/Drop Macro section

...

Info
titleVersion information

As of Hive 0.12.0.

Bug fixes:

  • Prior to Hive 1.3.0 and 2.0.0 when a HiveQL macro was used more than once while processing the same row, Hive returned the same result for all invocations even though the arguments were different. (See HIVE-11432.)
  • Prior to Hive 1.3.0 and 2.0.0 when multiple macros were used while processing the same row, an ORDER BY clause could give wrong results. (See HIVE-12277.)
  • Prior to Hive 2.1.0 when multiple macros were used
in one column
  • while processing the same row, results of the later
ones
  • macros were overwritten by that of the first. (See HIVE-13372.)

Hive 0.12.0 introduced macros to HiveQL, prior to which they could only be created in Java.

...