Skip to content

Conversation

@coryan
Copy link
Contributor

@coryan coryan commented Dec 26, 2017

Such as it is (the order is not guaranteed for column families).
This fixes #82.

Such as it is (the order is not guaranteed for column families).
This fixes googleapis#82.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 26, 2017
@coryan coryan requested review from carterpage and garye December 26, 2017 14:47
* by:
* - The column family internal ID, which is not necessarily the
* lexicographical order of the column family names. Also, the ID of each
* column family may change on each row.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not quite sure how to parse this. Is there a way to rephrase? Overall the description seems accurate, though.

Even though these are only comment changes I am not skipping the
CI build because they affect Doxygen.
@coryan
Copy link
Contributor Author

coryan commented Dec 26, 2017

PTAL.

* filter apples to the cells within a row, if there are multiple column
* families and/or columns in a row the order is:
* - All the cells for a column family appear together, but there is no
* guarantee on the order of the column families. Furthermore, column
Copy link

@carterpage carterpage Dec 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the "internal ID" reference is an improvement. It is best to avoid referring to internal mechanics that the user can't see.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly.

* of multiple filters via the `Interleave()` function. Furthermore, this
* filter apples to the cells within a row, if there are multiple column
* families and/or columns in a row the order is:
* - All the cells for a column family appear together, but there is no
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you checked the rendering of this in Doxygen output? Doxygen supports Markdown, but most Markdown parsers I've seen require adding a blank line before a bulleted list; otherwise, it doesn't render properly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, see below.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for checking.

* of multiple filters via the `Interleave()` function. Furthermore, this
* filter apples to the cells within a row, if there are multiple column
* families and/or columns in a row the order is:
* - All the cells for a column family appear together, but there is no
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment about rendering as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did, it works. Look at the attached file:

filter-doxygen-render.pdf

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks!

@coryan
Copy link
Contributor Author

coryan commented Dec 28, 2017

PTAL.

* - All the cells for a column family appear together, but there is no
* guarantee on the order of the column families. Furthermore, column
* families may appear in different orders in different rows.
* - Within a column family the cells are ordered by column name, column names
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Within a column family, the cells are ordered by column name, where column names are sorted lexicographically.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

* families may appear in different orders in different rows.
* - Within a column family the cells are ordered by column name, column names
* are compared lexicographically.
* - With a column, the cells appear in descending order by timestamp.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/With/Within/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

* families may appear in different orders in different rows.
* - Within a column family the cells are ordered by column name, column names
* are compared lexicographically.
* - With a column, the cells appear in descending order by timestamp.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/With/Within/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

* TODO(#82) - check the documentation around ordering of columns.
* Note that cells might be repeated, such as when interleaving the results
* of multiple filters via the `Interleave()` function. Furthermore, this
* filter apples to the cells within a row, if there are multiple column
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/row, if/row; if/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

* Note that cells might be repeated, such as when interleaving the results
* of multiple filters via the `Interleave()` function. Furthermore, this
* filter apples to the cells within a row, if there are multiple column
* families and/or columns in a row the order is:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/row the/row, the/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

* - All the cells for a column family appear together, but there is no
* guarantee on the order of the column families. Furthermore, column
* families may appear in different orders in different rows.
* - Within a column family the cells are ordered by column name, column names
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Within a column family, the cells are ordered by column name, where column names are sorted lexicographically.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

* TODO(#82) - check the documentation around ordering of columns.
* Note that cells might be repeated, such as when interleaving the results
* of multiple filters via the `Interleave()` function. Furthermore, this
* filter apples to the cells within a row, if there are multiple column
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/row, if/row; if/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, this is identical to the previous comment, so I just copied it.

* Note that cells might be repeated, such as when interleaving the results
* of multiple filters via the `Interleave()` function. Furthermore, this
* filter apples to the cells within a row, if there are multiple column
* families and/or columns in a row the order is:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/row the/row, the/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@coryan
Copy link
Contributor Author

coryan commented Dec 28, 2017

PTAL.
I did not skip the ci build because Doxygen, though I expect no breakage.

Copy link
Contributor

@mbrukman mbrukman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbrukman mbrukman merged commit bfdd4dc into googleapis:master Dec 28, 2017
@coryan coryan deleted the document-order-of-cells branch December 28, 2017 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document order of cells returned by ReadRows() within a row.

5 participants