Skip to content

Commit e19c9d3

Browse files
committed
Close the thrift connection in example file
1 parent af0e03d commit e19c9d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

example.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,7 @@
1717
->connect()
1818
->queryAndFetchAll( 'SHOW TABLES' );
1919
print_r( $impalaTables );
20-
21-
$impala->disconnect(); //Don't forget to clear the client and close socket.
20+
21+
// Don't forget to clear the client and close socket.
22+
$hive->disconnect();
23+
$impala->disconnect();

0 commit comments

Comments
 (0)