[ https://issues.apache.org/jira/browse/HIVE-27180?focusedWorklogId=854731&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-854731 ]
ASF GitHub Bot logged work on HIVE-27180: ----------------------------------------- Author: ASF GitHub Bot Created on: 04/Apr/23 09:16 Start Date: 04/Apr/23 09:16 Worklog Time Spent: 10m Work Description: github-actions[bot] commented on PR #4159: URL: https://github.com/apache/hive/pull/4159#issuecomment-1495627528 # @check-spelling-bot Report ### :red_circle: Please review See the [files](4159/files/) view or the [action log](https://github.com/apache/hive/actions/runs/4606031364) for details. <details><summary>Unrecognized words (13)</summary> ``` bbb empid hcatalog hcatandhadoop hivechar hivevarchar nlist retval rjsd rlist wjsd yyy zzz ``` </details> <details><summary>Previously acknowledged words that are now absent </summary>aarry timestamplocal yyyy </details> <details><summary>To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands</summary> ... in a clone of the [g...@github.com:rtrivedi12/hive.git](https://github.com/rtrivedi12/hive.git) repository on the `HIVE-27180` branch: ``` update_files() { perl -e ' my @expect_files=qw('".github/actions/spelling/expect.txt"'); @ARGV=@expect_files; my @stale=qw('"$patch_remove"'); my $re=join "|", @stale; my $suffix=".".time(); my $previous=""; sub maybe_unlink { unlink($_[0]) if $_[0]; } while (<>) { if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; } next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print; }; maybe_unlink($previous);' perl -e ' my $new_expect_file=".github/actions/spelling/expect.txt"; use File::Path qw(make_path); use File::Basename qw(dirname); make_path (dirname($new_expect_file)); open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE; my @add=qw('"$patch_add"'); my %items; @items{@words} = @words x (1); @items{@add} = @add x (1); @words = sort {lc($a)."-".$a cmp lc($b)."-".$b} keys %items; open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; }; close FILE; system("git", "add", $new_expect_file); ' } comment_json=$(mktemp) curl -L -s -S \ -H "Content-Type: application/json" \ "COMMENT_URL" > "$comment_json" comment_body=$(mktemp) jq -r ".body // empty" "$comment_json" > $comment_body rm $comment_json patch_remove=$(perl -ne 'next unless s{^</summary>(.*)</details>$}{$1}; print' < "$comment_body") patch_add=$(perl -e '$/=undef; $_=<>; if (m{Unrecognized words[^<]*</summary>\n*```\n*([^<]*)```\n*</details>$}m) { print "$1" } elsif (m{Unrecognized words[^<]*\n\n((?:\w.*\n)+)\n}m) { print "$1" };' < "$comment_body") update_files rm $comment_body git add -u ``` </details> <! Issue Time Tracking ------------------- Worklog Id: (was: 854731) Time Spent: 2h 10m (was: 2h) > Remove JsonSerde from hcatalog, Upgrade should update changed FQN for > JsonSerDe in HMS DB > ------------------------------------------------------------------------------------------ > > Key: HIVE-27180 > URL: https://issues.apache.org/jira/browse/HIVE-27180 > Project: Hive > Issue Type: Sub-task > Components: Hive > Reporter: Riju Trivedi > Assignee: Riju Trivedi > Priority: Major > Labels: pull-request-available > Time Spent: 2h 10m > Remaining Estimate: 0h > > As Hcatalog JsonSerDe uses the "serde2" version as a back end, Remove > o{*}rg.apache.hive.hcatalog.data.JsonSerDe{*} from hive-hcatalog. Fix tests > to use the new Serde class org.apache.hadoop.hive.serde2.JsonSerDe. Hive > Upgrade schema script can update the SERDES table to alter the class name to > the new class name, the old tables would work automatically. -- This message was sent by Atlassian Jira (v8.20.10#820010)