Skip to content

Conversation

@bomeng
Copy link
Contributor

@bomeng bomeng commented Jun 15, 2016

What changes were proposed in this pull request?

I've found some minor issues in "show tables" command:

  1. In the SessionCatalog.scala, listTables(db: String) method will call listTables(formatDatabaseName(db), "*") to list all the tables for certain db, but in the method listTables(db: String, pattern: String), this db name is formatted once more. So I think we should remove
    formatDatabaseName() in the caller.
  2. I suggest to add sort to listTables(db: String) in InMemoryCatalog.scala, just like listDatabases().

How was this patch tested?

The existing test cases should cover it.

@rxin
Copy link
Contributor

rxin commented Jun 15, 2016

Can you update the title to say more about the command? (show table here).

@bomeng bomeng changed the title [SPARK-15978] [SQL] remove unnecessary format [SPARK-15978] [SQL] improve 'show tables' related codes Jun 15, 2016
@SparkQA
Copy link

SparkQA commented Jun 16, 2016

Test build #60614 has finished for PR 13695 at commit 2bbc919.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@bomeng bomeng changed the title [SPARK-15978] [SQL] improve 'show tables' related codes [SPARK-15978] [SQL] improve 'show tables' command related codes Jun 16, 2016
@bomeng
Copy link
Contributor Author

bomeng commented Jun 16, 2016

@rxin could you please review it again?

@andrewor14
Copy link
Contributor

LGTM

@andrewor14
Copy link
Contributor

Merging into master 2.0

asfgit pushed a commit that referenced this pull request Jun 16, 2016
## What changes were proposed in this pull request?

I've found some minor issues in "show tables" command:

1. In the `SessionCatalog.scala`, `listTables(db: String)` method will call `listTables(formatDatabaseName(db), "*")` to list all the tables for certain db, but in the method `listTables(db: String, pattern: String)`, this db name is formatted once more. So I think we should remove
`formatDatabaseName()` in the caller.

2. I suggest to add sort to listTables(db: String) in InMemoryCatalog.scala, just like listDatabases().

## How was this patch tested?

The existing test cases should cover it.

Author: bomeng <[email protected]>

Closes #13695 from bomeng/SPARK-15978.

(cherry picked from commit bbad4cb)
Signed-off-by: Andrew Or <[email protected]>
@asfgit asfgit closed this in bbad4cb Jun 16, 2016
@bomeng
Copy link
Contributor Author

bomeng commented Jun 16, 2016

Thanks for merging !

@bomeng bomeng deleted the SPARK-15978 branch June 16, 2016 21:58
LuciferYang pushed a commit that referenced this pull request Jan 26, 2024
### What changes were proposed in this pull request?
The pr aims to upgrade `Netty` from `4.1.100.Final` to `4.1.106.Final`.

### Why are the changes needed?
- To bring the latest bug fixes
Automatically close Http2StreamChannel when Http2FrameStreamExceptionreaches end ofChannelPipeline ([#13651](netty/netty#13651))
Symbol not found: _netty_jni_util_JNI_OnLoad ([#13695](netty/netty#13728))

- 4.1.106.Final release note: https://netty.io/news/2024/01/19/4-1-106-Final.html
- 4.1.105.Final release note: https://netty.io/news/2024/01/16/4-1-105-Final.html
- 4.1.104.Final release note: https://netty.io/news/2023/12/15/4-1-104-Final.html
- 4.1.103.Final release note: https://netty.io/news/2023/12/13/4-1-103-Final.html
- 4.1.101.Final release note: https://netty.io/news/2023/11/09/4-1-101-Final.html

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Pass GA.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes #44384 from panbingkun/SPARK-46432.

Lead-authored-by: panbingkun <[email protected]>
Co-authored-by: panbingkun <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
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.

4 participants