You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2022/05/16 12:03:24 UTC
[GitHub] [phoenix] anmolnar opened a new pull request, #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
anmolnar opened a new pull request, #1442:
URL: https://github.com/apache/phoenix/pull/1442
I tried to find all the applicable places for the replacement. Please verify.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [phoenix] stoty commented on pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
Posted by GitBox <gi...@apache.org>.
stoty commented on PR #1442:
URL: https://github.com/apache/phoenix/pull/1442#issuecomment-1127840500
QueryServices.SERVER_SPOOL_THRESHOLD_BYTES_ATTRIB is a byte value, according to the variable name.
You can go over the constants there, and find the references where they are read, and apply the change to thos places.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [phoenix] stoty closed pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
Posted by GitBox <gi...@apache.org>.
stoty closed pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
URL: https://github.com/apache/phoenix/pull/1442
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [phoenix] stoty commented on pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
Posted by GitBox <gi...@apache.org>.
stoty commented on PR #1442:
URL: https://github.com/apache/phoenix/pull/1442#issuecomment-1127764177
Most preoperties are defined in QueryServicesOptions , I can see a bunch of further candidates there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [phoenix] stoty commented on pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
Posted by GitBox <gi...@apache.org>.
stoty commented on PR #1442:
URL: https://github.com/apache/phoenix/pull/1442#issuecomment-1131212007
Come to think of it, implementing getLongBytes on ReadOnlyProps would probably be a good idea.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [phoenix] anmolnar commented on pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
Posted by GitBox <gi...@apache.org>.
anmolnar commented on PR #1442:
URL: https://github.com/apache/phoenix/pull/1442#issuecomment-1128607654
@stoty Thanks for the pointer. I've found a couple of more.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [phoenix] anmolnar commented on pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
Posted by GitBox <gi...@apache.org>.
anmolnar commented on PR #1442:
URL: https://github.com/apache/phoenix/pull/1442#issuecomment-1191434128
@stoty I've implemented getLongBytes() for `ReadOnlyProps` and rebased the patch. PTAL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [phoenix] stoty commented on pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
Posted by GitBox <gi...@apache.org>.
stoty commented on PR #1442:
URL: https://github.com/apache/phoenix/pull/1442#issuecomment-1192171232
Mostly looks good.
Can you add a small UT for getLongBytes() in ReadOnlyProps to improve test coverage ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [phoenix] anmolnar commented on pull request #1442: PHOENIX-6707 Use Configuration.getLongBytes where applicable
Posted by GitBox <gi...@apache.org>.
anmolnar commented on PR #1442:
URL: https://github.com/apache/phoenix/pull/1442#issuecomment-1127819791
@stoty I'm not sure what do you mean by "in QueryServices". That's an interface which doesn't have logic.
In most places I see something like the following:
```
connection
.getQueryServices()
.getProps()
.getLong(QueryServices.SEQUENCE_CACHE_SIZE_ATTRIB,
QueryServicesOptions.DEFAULT_SEQUENCE_CACHE_SIZE);
```
getProps() gives you `ReadOnlyProps` which doesn't have getLongBytes alternative.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org