Skip to content

Group log messages by date - COUCHDB-2136#214

Closed
robertkowalski wants to merge 1 commit intoapache:masterfrom
robertkowalski:2136-group-time-sorter
Closed

Group log messages by date - COUCHDB-2136#214
robertkowalski wants to merge 1 commit intoapache:masterfrom
robertkowalski:2136-group-time-sorter

Conversation

@robertkowalski
Copy link
Member

Introduce a heading for each day in the logs and remove the day
from each column.

Closes COUCHDB-2136

I also tested to hack the logic into the view, which would be around 20ms faster, but it wouldn't be testable and more logic in the views, which I want to avoid.

Copy link
Member

Choose a reason for hiding this comment

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

I think it would make more sense for the collection have have this function than the view. The collection knows what data it holds. It would also make it easier to use this method elsewhere it we needed.

@garrensmith
Copy link
Member

Hey @robertkowalski, this looks great. Just some small comments. Once you have made those changes, you can merge it.

Introduce a heading for each day in the logs and remove the day
from each column.

Closes COUCHDB-2136
@garrensmith
Copy link
Member

+1 looks great. Merge it

@robertkowalski
Copy link
Member Author

Merged!

lag-linaro pushed a commit to lag-linaro/couchdb that referenced this pull request Oct 25, 2018
janl pushed a commit that referenced this pull request Jan 5, 2020
* GET can return multipart/mixed or multipart/related

* Mention the possibility of multipart/related in the PUT /{doc} description
nickva pushed a commit to nickva/couchdb that referenced this pull request Sep 7, 2022
* GET can return multipart/mixed or multipart/related

* Mention the possibility of multipart/related in the PUT /{doc} description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants