Skip to content

Instantly share code, notes, and snippets.

2019-02-10 10:37:12 INFO FileSourceScanExec:54 - Pushed Filters:
== Physical Plan ==
*(2) Sort [Date of Payment#12 DESC NULLS LAST], true, 0
+- Exchange rangepartitioning(Date of Payment#12 DESC NULLS LAST, 200)
+- *(1) FileScan csv [Department#10,Entity#11,Date of Payment#12
...
orderedData.explain
...
+--------------------------------------------------------+-------------+
|Expense Type |total |
+--------------------------------------------------------+-------------+
|R & D Other Professional Services |665,494.58 |
|R & D Printing and Stationery |0.00 |
|Technical Advice / Services & Support |94,080.00 |
|R & D Taxi Services Overseas |967.04 |
|Consultancy Expenditure |23,048.20 |
|R & D Other Staff Welfare Costs |37.50 |
|R & D Other Travel |3,771.03 |
@ls12styler
ls12styler / Dockerfile
Last active December 27, 2017 11:09 — forked from ianjuma/Dockerfile
Scala dockerfile
#
# Scala and sbt Dockerfile
#
# https://github.com/hseeberger/scala-sbt
#
# Pull base image
FROM java:8
ENV SCALA_VERSION 2.11.8
@ls12styler
ls12styler / 0_reuse_code.js
Created July 7, 2016 08:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
* @ManyToMany(targetEntity="Contact")
* @JoinTable(name="contacts_lists",
* joinColumns={@JoinColumn(name="contact_id", referencedColumnName="id")},
* inverseJoinColumns{@JoinColumn(name="list_id", referencedColumnName="id")}
* )
*/
if($_REQUEST['changepassword'] == 'true')
{
$focus->retrieve_entity_info($_REQUEST['record'],'Users');
$focus->id = $_REQUEST['record'];
if (isset($_POST['new_password'])) {
$new_pass = $_POST['new_password'];
$new_passwd = $_POST['new_password'];
$new_pass = md5($new_pass);
$old_pass = $_POST['old_password'];
$uname = $_POST['user_name'];
<?php
namespace My\Namepsace;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class Class
ADDRESS0=192.168.30.0
NETMASK0=255.255.255.0
GATEWAY0=192.168.4.254
In file included from /tmp/pear/temp/APC/apc.c:44:
/usr/include/php5/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory
In file included from /tmp/pear/temp/APC/apc.c:44:
/usr/include/php5/ext/pcre/php_pcre.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/php5/ext/pcre/php_pcre.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/php5/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before ‘pcre’
/tmp/pear/temp/APC/apc.c:393: error: expected specifier-qualifier-list before ‘pcre’
/tmp/pear/temp/APC/apc.c: In function ‘apc_regex_compile_array’:
/tmp/pear/temp/APC/apc.c:454: error: ‘apc_regex’ has no member named ‘preg’
/tmp/pear/temp/APC/apc.c:454: error: ‘apc_regex’ has no member named ‘preg’