Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-372

Add filter information to Load/Store and Input/Output docs

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.4
    • documentation

    Description

      List supported operators for filters in the "Load and Store" & "Input and Output" docs.
      Improve the description of filters in "Input and Output" doc.

      Attachments

        1. HCATALOG-372.1.patch
          6 kB
          Lefty Leverenz
        2. HCATALOG-372.2.patch
          15 kB
          Lefty Leverenz

        Activity

          leftyl Lefty Leverenz added a comment -

          Additional information about filters, with a few minor edits.

          leftyl Lefty Leverenz added a comment - Additional information about filters, with a few minor edits.

          -----------------------------------------------------------
          This is an automatically generated e-mail. To reply, visit:
          https://reviews.apache.org/r/4743/
          -----------------------------------------------------------

          Review request for hcatalog.

          Summary
          -------

          Add filter information to Load/Store and Input/Output docs

          This addresses bug HCATALOG-372.
          https://issues.apache.org/jira/browse/HCATALOG-372

          Diffs


          trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml 1311550
          trunk/src/docs/src/documentation/content/xdocs/loadstore.xml 1311550

          Diff: https://reviews.apache.org/r/4743/diff

          Testing
          -------

          Thanks,

          Alan

          jiraposter@reviews.apache.org jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4743/ ----------------------------------------------------------- Review request for hcatalog. Summary ------- Add filter information to Load/Store and Input/Output docs This addresses bug HCATALOG-372 . https://issues.apache.org/jira/browse/HCATALOG-372 Diffs trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml 1311550 trunk/src/docs/src/documentation/content/xdocs/loadstore.xml 1311550 Diff: https://reviews.apache.org/r/4743/diff Testing ------- Thanks, Alan

          -----------------------------------------------------------
          This is an automatically generated e-mail. To reply, visit:
          https://reviews.apache.org/r/4743/#review6959
          -----------------------------------------------------------

          trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml
          <https://reviews.apache.org/r/4743/#comment15504>

          We might need to put parenthetical comments on <> to explain what it is, since some non-SQL users may not be familiar with it.

          trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml
          <https://reviews.apache.org/r/4743/#comment15505>

          We should add some examples. A few examples of filters with MapReduce:

          ds > "20110924"
          ds < "20110925"
          ds <= "20110925" and ds >= "20110924"

          trunk/src/docs/src/documentation/content/xdocs/loadstore.xml
          <https://reviews.apache.org/r/4743/#comment15506>

          We should add some examples. Example filters with Pig:

          a = load 'foo' using org.apache.hcatalog.pig.HCatLoader();
          b = filter a by ds == '20110924' or ds == '20110925';

          a = load 'foo' using org.apache.hcatalog.pig.HCatLoader();
          b = filter a by ds > '20110924';

          a = load 'foo' using org.apache.hcatalog.pig.HCatLoader();
          b = filter a by ds <= '20110925' and ds >= '20110924';

          • Alan

          On 2012-04-16 21:14:24, Alan Gates wrote:

          -----------------------------------------------------------

          This is an automatically generated e-mail. To reply, visit:

          https://reviews.apache.org/r/4743/

          -----------------------------------------------------------

          (Updated 2012-04-16 21:14:24)

          Review request for hcatalog.

          Summary

          -------

          Add filter information to Load/Store and Input/Output docs

          This addresses bug HCATALOG-372.

          https://issues.apache.org/jira/browse/HCATALOG-372

          Diffs

          -----

          trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml 1311550

          trunk/src/docs/src/documentation/content/xdocs/loadstore.xml 1311550

          Diff: https://reviews.apache.org/r/4743/diff

          Testing

          -------

          Thanks,

          Alan

          jiraposter@reviews.apache.org jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4743/#review6959 ----------------------------------------------------------- trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml < https://reviews.apache.org/r/4743/#comment15504 > We might need to put parenthetical comments on <> to explain what it is, since some non-SQL users may not be familiar with it. trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml < https://reviews.apache.org/r/4743/#comment15505 > We should add some examples. A few examples of filters with MapReduce: ds > "20110924" ds < "20110925" ds <= "20110925" and ds >= "20110924" trunk/src/docs/src/documentation/content/xdocs/loadstore.xml < https://reviews.apache.org/r/4743/#comment15506 > We should add some examples. Example filters with Pig: a = load 'foo' using org.apache.hcatalog.pig.HCatLoader(); b = filter a by ds == '20110924' or ds == '20110925'; a = load 'foo' using org.apache.hcatalog.pig.HCatLoader(); b = filter a by ds > '20110924'; a = load 'foo' using org.apache.hcatalog.pig.HCatLoader(); b = filter a by ds <= '20110925' and ds >= '20110924'; Alan On 2012-04-16 21:14:24, Alan Gates wrote: ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4743/ ----------------------------------------------------------- (Updated 2012-04-16 21:14:24) Review request for hcatalog. Summary ------- Add filter information to Load/Store and Input/Output docs This addresses bug HCATALOG-372 . https://issues.apache.org/jira/browse/HCATALOG-372 Diffs ----- trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml 1311550 trunk/src/docs/src/documentation/content/xdocs/loadstore.xml 1311550 Diff: https://reviews.apache.org/r/4743/diff Testing ------- Thanks, Alan
          leftyl Lefty Leverenz added a comment -

          Added filter examples and parenthetical explanation of <> per review comments, adjusted line breaks to fix very long lines, and made minor edits in loadstore.xml & inputoutput.xml.

          leftyl Lefty Leverenz added a comment - Added filter examples and parenthetical explanation of <> per review comments, adjusted line breaks to fix very long lines, and made minor edits in loadstore.xml & inputoutput.xml.

          -----------------------------------------------------------
          This is an automatically generated e-mail. To reply, visit:
          https://reviews.apache.org/r/4743/
          -----------------------------------------------------------

          (Updated 2012-04-24 00:40:56.920089)

          Review request for hcatalog.

          Changes
          -------

          Diff for patch 2.

          Summary
          -------

          Add filter information to Load/Store and Input/Output docs

          This addresses bug HCATALOG-372.
          https://issues.apache.org/jira/browse/HCATALOG-372

          Diffs (updated)


          trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml 1311550
          trunk/src/docs/src/documentation/content/xdocs/loadstore.xml 1311550

          Diff: https://reviews.apache.org/r/4743/diff

          Testing
          -------

          Thanks,

          Alan

          jiraposter@reviews.apache.org jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4743/ ----------------------------------------------------------- (Updated 2012-04-24 00:40:56.920089) Review request for hcatalog. Changes ------- Diff for patch 2. Summary ------- Add filter information to Load/Store and Input/Output docs This addresses bug HCATALOG-372 . https://issues.apache.org/jira/browse/HCATALOG-372 Diffs (updated) trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml 1311550 trunk/src/docs/src/documentation/content/xdocs/loadstore.xml 1311550 Diff: https://reviews.apache.org/r/4743/diff Testing ------- Thanks, Alan
          gates Alan Gates added a comment -

          Patch checked into trunk, 0.4 branch, and 0.4.0-rc4 branch.

          gates Alan Gates added a comment - Patch checked into trunk, 0.4 branch, and 0.4.0-rc4 branch.
          gates Alan Gates added a comment -

          Issue closed with 0.4 release.

          gates Alan Gates added a comment - Issue closed with 0.4 release.

          People

            leftyl Lefty Leverenz
            leftyl Lefty Leverenz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: